#252E57

Closest named color: Prussian Blue (#1D3557). oklch(31.6% 0.074 272.2), rgb(37, 46, 87).

Aa

White text reads best on this color (13.06:1).

About this color

#252E57 is a dark, moderately saturated blue. In OKLCH its lightness is 32%, its chroma 0.074 and its hue 272°. Its hue sits on the cool side of the wheel. The nearest named color is Prussian Blue (#1D3557), ΔE 0.023 away. White text reads best on it, at 13.06:1.

Hue familyBlues
Lightnessdark (32%)
Chromamoderately saturated (0.074)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.60:1
White text13.06:1

Values

HEX#252E57
RGBrgb(37, 46, 87)
HSLhsl(229, 40%, 24%)
OKLCHoklch(31.6% 0.074 272.2)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #252E57 13.06:1 AAA Lc -102.5 Preferred for body text
Black text on #252E57 1.60:1 Fails Lc 0.0 Not readable
#252E57 text on white 13.06:1 AAA Lc 99.2 Preferred for body text
#252E57 text on black 1.60:1 Fails Lc 0.0 Not readable

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 950.

  1. Step 50

    50

    #F2F5FE

    oklch(97% 0.012 271.3)

  2. Step 100

    100

    #E4E9FB

    oklch(93.6% 0.025 273.5)

  3. Step 200

    200

    #CED8FA

    oklch(88.5% 0.048 272.4)

  4. Step 300

    300

    #ADBEFA

    oklch(81% 0.087 272.1)

  5. Step 400

    400

    #8399F8

    oklch(70.7% 0.141 272.5)

  6. Step 500

    500

    #667DF4

    oklch(63.2% 0.179 272.1)

  7. Step 600

    600

    #5062E3

    oklch(55.6% 0.195 272.4)

  8. Step 700

    700

    #4150C5

    oklch(49% 0.181 272.3)

  9. Step 800

    800

    #35439F

    oklch(42.7% 0.149 272)

  10. Step 900

    900

    #2E397F

    oklch(37.7% 0.118 272.7)

  11. Step 950

    950 (this color)

    #252E57

    oklch(31.6% 0.074 272.2)

Export this scale for Tailwind in the Tailwind colors tool

#252E57 with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#1D33590.017
Deuteranopia (no green cones)#172F560.018
Tritanopia (no blue cones)#0D373E0.066
Achromatopsia (no color)#3131310.074

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #252E57

    #252E57

    oklch(31.6% 0.074 272.2)

  • #3D3000

    #3D3000

    oklch(31.5% 0.064 92.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #252E57

    #252E57

    oklch(31.6% 0.074 272.2)

  • #013554

    #013554

    oklch(31.6% 0.075 242.4)

  • #392751

    #392751

    oklch(31.5% 0.075 302.1)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #252E57

    #252E57

    oklch(31.6% 0.074 272.2)

  • #4B2800

    #4B2800

    oklch(31.6% 0.072 62.7)

  • #2B3703

    #2B3703

    oklch(31.5% 0.074 122.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #252E57

    #252E57

    oklch(31.6% 0.074 272.2)

  • #512118

    #512118

    oklch(31.6% 0.074 32.3)

  • #0A3C1E

    #0A3C1E

    oklch(31.5% 0.074 152.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #252E57

    #252E57

    oklch(31.6% 0.074 272.2)

  • #4F1F2F

    #4F1F2F

    oklch(31.5% 0.075 1.4)

  • #3D3000

    #3D3000

    oklch(31.5% 0.064 92.4)

  • #003B34

    #003B34

    oklch(31.6% 0.057 182.1)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #252E57, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #252E57 in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.