Skip to content
Kolorvia
#252f57

Color #252f57

A moderately saturated dark blue.

Conversions

HEX
#252f57
RGB
rgb(37, 47, 87)
HSL
hsl(228, 40.3%, 24.3%)
HSV / HSB
hsv(228, 57.5%, 34.1%)
CMYK
cmyk(57.5%, 46%, 0%, 65.9%)
LAB
lab(20.5, 9.02, -25.57)
LCH
lch(20.5, 27.11, 289.43)
OKLCH
oklch(31.8%, 0.0726, 271.18)
HWB
hwb(228, 14.5%, 65.9%)

Harmony colors

Complementary

#574d25

Analogous

#254857
#252f57
#342557

Triadic

#252f57
#57252f
#2f5725

Split-complementary

#252f57
#573425
#485725

Tetradic

#252f57
#4d2557
#574d25
#2f5725

Square

#252f57
#572548
#574d25
#255734

Shades

Color #252f57 mixed toward black.

#1f2748
#191f3a
#12172b
#0c101d
#06080e

Tints

Color #252f57 mixed toward white.

#384784
#4b60b1
#7887c5
#a5afd9
#d2d7ec

Tones

Color #252f57 mixed toward gray.

#293153
#2d344f
#31364a
#363946
#3a3b42

Accessibility

Aa White text on this color
12.94:1
Aa Black text on this color
1.62:1

White text reads better on this background (12.94:1). That passes WCAG AAA (≥7:1) for normal-size text.

Under color vision deficiencies

Protanopia

#2a2a4f · ΔE 3.4

Deuteranopia

#29284e · ΔE 3.8

Tritanopia

#264947 · ΔE 23.8

Achromatopsia

#313131 · ΔE 17.4

Left half is the original, right half is the simulated appearance. See all 8 vision types →

Code

CSS
background-color: #252f57;
Tailwind (arbitrary value)
bg-[#252f57]

Related colors

Royal Blue #4169e1
Cornflower Blue #6495ed
Navy #000080
Lavender #e6e6fa
Blue #0000ff
Dark Blue #00008b

Frequently asked questions

#252f57 (#252f57) is rgb(37, 47, 87) in RGB.

No, #252f57 is not web-safe. The nearest web-safe colors are among its tones and shades below.

Related tools

Build something with this color

Generate a full palette from #252f57, or check how it holds up for accessibility.

We use cookies for site preferences and, where enabled, Google Analytics and Google AdSense — which may use cookies to personalize ads based on your visits here and elsewhere. See our Privacy Policy for details. Your color tool inputs are never sent to us regardless of your choice.