#252B52

Closest named color: Prussian Blue (#1D3557). oklch(30.5% 0.07 274.9), rgb(37, 43, 82).

Aa

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

About this color

#252B52 is a dark, moderately saturated blue. In OKLCH its lightness is 30%, its chroma 0.070 and its hue 275°. Its hue sits on the cool side of the wheel. The nearest named color is Prussian Blue (#1D3557), ΔE 0.031 away. White text reads best on it, at 13.58:1.

Hue familyBlues
Lightnessdark (30%)
Chromamoderately saturated (0.070)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.54:1
White text13.58:1

Values

HEX#252B52
RGBrgb(37, 43, 82)
HSLhsl(232, 38%, 23%)
OKLCHoklch(30.5% 0.07 274.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 #252B52 13.58:1 AAA Lc -103.1 Preferred for body text
Black text on #252B52 1.54:1 Fails Lc 0.0 Not readable
#252B52 text on white 13.58:1 AAA Lc 100.0 Preferred for body text
#252B52 text on black 1.54: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

    #E5E9FB

    oklch(93.6% 0.025 275.9)

  3. Step 200

    200

    #D0D7F9

    oklch(88.5% 0.047 276.2)

  4. Step 300

    300

    #B0BDF7

    oklch(80.9% 0.083 274.6)

  5. Step 400

    400

    #8999F3

    oklch(70.8% 0.133 274.9)

  6. Step 500

    500

    #6D7CEF

    oklch(63.1% 0.171 274.8)

  7. Step 600

    600

    #5762DD

    oklch(55.5% 0.185 274.8)

  8. Step 700

    700

    #4850C0

    oklch(49.1% 0.173 274.9)

  9. Step 800

    800

    #3B439B

    oklch(42.8% 0.142 274.8)

  10. Step 900

    900

    #32397B

    oklch(37.6% 0.111 275.2)

  11. Step 950

    950 (this color)

    #252B52

    oklch(30.5% 0.07 274.9)

Export this scale for Tailwind in the Tailwind colors tool

#252B52 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)#1B30530.019
Deuteranopia (no green cones)#172C510.019
Tritanopia (no blue cones)#13333A0.062
Achromatopsia (no color)#2E2E2E0.070

Harmonies

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

Complementary

The opposite hue (180°).

  • #252B52

    #252B52

    oklch(30.5% 0.07 274.9)

  • #392E00

    #392E00

    oklch(30.4% 0.062 94.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #252B52

    #252B52

    oklch(30.5% 0.07 274.9)

  • #063250

    #063250

    oklch(30.6% 0.07 244.5)

  • #37254B

    #37254B

    oklch(30.5% 0.069 304.5)

Open the analogous palette in the generator

Split complementary

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

  • #252B52

    #252B52

    oklch(30.5% 0.07 274.9)

  • #462600

    #462600

    oklch(30.4% 0.069 64.3)

  • #273506

    #273506

    oklch(30.6% 0.07 125.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #252B52

    #252B52

    oklch(30.5% 0.07 274.9)

  • #4C2015

    #4C2015

    oklch(30.5% 0.07 35.2)

  • #06391F

    #06391F

    oklch(30.5% 0.07 155.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #252B52

    #252B52

    oklch(30.5% 0.07 274.9)

  • #4B1E2A

    #4B1E2A

    oklch(30.5% 0.07 5.4)

  • #392E00

    #392E00

    oklch(30.4% 0.062 94.6)

  • #003832

    #003832

    oklch(30.6% 0.054 183.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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