#25246C

Closest named color: Midnight Blue (#191970). oklch(31.2% 0.122 277.3), rgb(37, 36, 108).

Aa

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

About this color

#25246C is a dark, moderately saturated blue. In OKLCH its lightness is 31%, its chroma 0.122 and its hue 277°. Its hue sits on the cool side of the wheel. The nearest named color is Midnight Blue (#191970), ΔE 0.034 away. White text reads best on it, at 13.56:1.

Hue familyBlues
Lightnessdark (31%)
Chromamoderately saturated (0.122)
Temperaturecool
Nearest nameMidnight Blue (#191970)
Black text1.54:1
White text13.56:1

Values

HEX#25246C
RGBrgb(37, 36, 108)
HSLhsl(241, 50%, 28%)
OKLCHoklch(31.2% 0.122 277.3)

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 #25246C 13.56:1 AAA Lc -102.9 Preferred for body text
Black text on #25246C 1.54:1 Fails Lc 0.0 Not readable
#25246C text on white 13.56:1 AAA Lc 99.7 Preferred for body text
#25246C 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

    #F3F5FF

    oklch(97.2% 0.013 277.1)

  2. Step 100

    100

    #E4E8FF

    oklch(93.5% 0.031 277.9)

  3. Step 200

    200

    #CFD6FF

    oklch(88.4% 0.057 277.5)

  4. Step 300

    300

    #B1BBFF

    oklch(80.9% 0.097 277.5)

  5. Step 400

    400

    #8A95FF

    oklch(70.7% 0.154 277.2)

  6. Step 500

    500

    #7075FF

    oklch(63.1% 0.201 277.4)

  7. Step 600

    600

    #5A50FF

    oklch(55.6% 0.248 277.1)

  8. Step 700

    700

    #4E17FF

    oklch(49.1% 0.292 277.4)

  9. Step 800

    800

    #3E19D0

    oklch(42.7% 0.246 277.2)

  10. Step 900

    900

    #3223A3

    oklch(37.6% 0.192 277.2)

  11. Step 950

    950 (this color)

    #25246C

    oklch(31.2% 0.122 277.3)

Export this scale for Tailwind in the Tailwind colors tool

#25246C 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)#00316E0.044
Deuteranopia (no green cones)#002B6B0.038
Tritanopia (no blue cones)#0036440.101
Achromatopsia (no color)#2E2E2E0.122

Harmonies

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

Complementary

The opposite hue (180°).

  • #25246C

    #25246C

    oklch(31.2% 0.122 277.3)

  • #3A3000

    #3A3000

    oklch(31.1% 0.064 96.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #25246C

    #25246C

    oklch(31.2% 0.122 277.3)

  • #003358

    #003358

    oklch(31.3% 0.083 247.2)

  • #41185F

    #41185F

    oklch(31.1% 0.121 307.1)

Open the analogous palette in the generator

Split complementary

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

  • #25246C

    #25246C

    oklch(31.2% 0.122 277.3)

  • #472900

    #472900

    oklch(31.2% 0.068 68.1)

  • #253800

    #253800

    oklch(31.2% 0.081 127.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #25246C

    #25246C

    oklch(31.2% 0.122 277.3)

  • #591600

    #591600

    oklch(31.1% 0.103 37.6)

  • #003B21

    #003B21

    oklch(31% 0.073 157.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #25246C

    #25246C

    oklch(31.2% 0.122 277.3)

  • #5E0326

    #5E0326

    oklch(31.2% 0.121 7)

  • #3A3000

    #3A3000

    oklch(31.1% 0.064 96.5)

  • #003935

    #003935

    oklch(31% 0.054 187.2)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #25246C.

Similar named colors

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

Use #25246C 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.