#1E2464

Closest named color: Midnight Blue (#191970). oklch(29.9% 0.112 273.5), rgb(30, 36, 100).

Aa

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

About this color

#1E2464 is a dark, moderately saturated blue. In OKLCH its lightness is 30%, its chroma 0.112 and its hue 273°. 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 14.07:1.

Hue familyBlues
Lightnessdark (30%)
Chromamoderately saturated (0.112)
Temperaturecool
Nearest nameMidnight Blue (#191970)
Black text1.49:1
White text14.07:1

Values

HEX#1E2464
RGBrgb(30, 36, 100)
HSLhsl(235, 54%, 25%)
OKLCHoklch(29.9% 0.112 273.5)

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 #1E2464 14.07:1 AAA Lc -103.5 Preferred for body text
Black text on #1E2464 1.49:1 Fails Lc 0.0 Not readable
#1E2464 text on white 14.07:1 AAA Lc 100.4 Preferred for body text
#1E2464 text on black 1.49: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

    #F2F5FF

    oklch(97.1% 0.014 272.7)

  2. Step 100

    100

    #E3E9FF

    oklch(93.6% 0.03 273.6)

  3. Step 200

    200

    #CDD7FF

    oklch(88.4% 0.056 274.2)

  4. Step 300

    300

    #ACBDFF

    oklch(80.9% 0.095 273)

  5. Step 400

    400

    #8397FF

    oklch(70.7% 0.153 273.6)

  6. Step 500

    500

    #6679FF

    oklch(63.1% 0.198 273.3)

  7. Step 600

    600

    #4F55FF

    oklch(55.7% 0.246 273.5)

  8. Step 700

    700

    #402FF6

    oklch(49% 0.273 273.5)

  9. Step 800

    800

    #342CC7

    oklch(42.8% 0.226 273.5)

  10. Step 900

    900

    #2B2C9C

    oklch(37.7% 0.176 273.7)

  11. Step 950

    950 (this color)

    #1E2464

    oklch(29.9% 0.112 273.5)

Export this scale for Tailwind in the Tailwind colors tool

#1E2464 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)#002F660.036
Deuteranopia (no green cones)#0028630.029
Tritanopia (no blue cones)#0034400.092
Achromatopsia (no color)#2B2B2B0.112

Harmonies

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

Complementary

The opposite hue (180°).

  • #1E2464

    #1E2464

    oklch(29.9% 0.112 273.5)

  • #382C00

    #382C00

    oklch(29.8% 0.061 92.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1E2464

    #1E2464

    oklch(29.9% 0.112 273.5)

  • #00304F

    #00304F

    oklch(29.8% 0.074 244)

  • #3A195A

    #3A195A

    oklch(29.9% 0.112 303.6)

Open the analogous palette in the generator

Split complementary

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

  • #1E2464

    #1E2464

    oklch(29.9% 0.112 273.5)

  • #452500

    #452500

    oklch(30% 0.068 63.7)

  • #263300

    #263300

    oklch(29.8% 0.074 123.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1E2464

    #1E2464

    oklch(29.9% 0.112 273.5)

  • #580D00

    #580D00

    oklch(30% 0.109 33.5)

  • #00381A

    #00381A

    oklch(29.9% 0.077 153.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1E2464

    #1E2464

    oklch(29.9% 0.112 273.5)

  • #560728

    #560728

    oklch(29.8% 0.111 2.9)

  • #382C00

    #382C00

    oklch(29.8% 0.061 92.6)

  • #003630

    #003630

    oklch(29.9% 0.053 183)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #1E2464 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.