#252D54

Closest named color: Prussian Blue (#1D3557). oklch(31.1% 0.071 272.9), rgb(37, 45, 84).

Aa

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

About this color

#252D54 is a dark, moderately saturated blue. In OKLCH its lightness is 31%, its chroma 0.071 and its hue 273°. Its hue sits on the cool side of the wheel. The nearest named color is Prussian Blue (#1D3557), ΔE 0.025 away. White text reads best on it, at 13.27:1.

Hue familyBlues
Lightnessdark (31%)
Chromamoderately saturated (0.071)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.58:1
White text13.27:1

Values

HEX#252D54
RGBrgb(37, 45, 84)
HSLhsl(230, 39%, 24%)
OKLCHoklch(31.1% 0.071 272.9)

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 #252D54 13.27:1 AAA Lc -102.7 Preferred for body text
Black text on #252D54 1.58:1 Fails Lc 0.0 Not readable
#252D54 text on white 13.27:1 AAA Lc 99.5 Preferred for body text
#252D54 text on black 1.58: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

    #F3F5FD

    oklch(97.1% 0.011 274.9)

  2. Step 100

    100

    #E4E9FB

    oklch(93.6% 0.025 273.5)

  3. Step 200

    200

    #CFD8F9

    oklch(88.6% 0.047 273.4)

  4. Step 300

    300

    #AEBEF7

    oklch(80.9% 0.083 272.3)

  5. Step 400

    400

    #859AF4

    oklch(70.8% 0.134 272.6)

  6. Step 500

    500

    #697DEF

    oklch(63% 0.171 273)

  7. Step 600

    600

    #5363DE

    oklch(55.6% 0.187 273.1)

  8. Step 700

    700

    #4451C1

    oklch(49.1% 0.174 273.2)

  9. Step 800

    800

    #37439C

    oklch(42.6% 0.144 272.9)

  10. Step 900

    900

    #2F3A7C

    oklch(37.7% 0.112 272.8)

  11. Step 950

    950 (this color)

    #252D54

    oklch(31.1% 0.071 272.9)

Export this scale for Tailwind in the Tailwind colors tool

#252D54 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)#1D32550.017
Deuteranopia (no green cones)#182E530.017
Tritanopia (no blue cones)#10353C0.062
Achromatopsia (no color)#3030300.071

Harmonies

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

Complementary

The opposite hue (180°).

  • #252D54

    #252D54

    oklch(31.1% 0.071 272.9)

  • #3C2F00

    #3C2F00

    oklch(31.1% 0.064 92.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #252D54

    #252D54

    oklch(31.1% 0.071 272.9)

  • #053451

    #053451

    oklch(31.2% 0.07 242.4)

  • #38274E

    #38274E

    oklch(31.2% 0.07 302.6)

Open the analogous palette in the generator

Split complementary

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

  • #252D54

    #252D54

    oklch(31.1% 0.071 272.9)

  • #492700

    #492700

    oklch(31.1% 0.071 63)

  • #2A3605

    #2A3605

    oklch(31.1% 0.071 122.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #252D54

    #252D54

    oklch(31.1% 0.071 272.9)

  • #4E2118

    #4E2118

    oklch(31% 0.07 32.8)

  • #0B3B1F

    #0B3B1F

    oklch(31.3% 0.071 153.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #252D54

    #252D54

    oklch(31.1% 0.071 272.9)

  • #4D1F2D

    #4D1F2D

    oklch(31.1% 0.071 3)

  • #3C2F00

    #3C2F00

    oklch(31.1% 0.064 92.1)

  • #003933

    #003933

    oklch(30.9% 0.055 183.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #252D54 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.