#1E314A

Closest named color: Gunmetal (#293241). oklch(31% 0.052 255.7), rgb(30, 49, 74).

Aa

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

About this color

#1E314A is a dark, muted blue. In OKLCH its lightness is 31%, its chroma 0.052 and its hue 256°. Its hue sits on the cool side of the wheel. The nearest named color is Gunmetal (#293241), ΔE 0.023 away. White text reads best on it, at 13.17:1.

Hue familyBlues
Lightnessdark (31%)
Chromamuted (0.052)
Temperaturecool
Nearest nameGunmetal (#293241)
Black text1.59:1
White text13.17:1

Values

HEX#1E314A
RGBrgb(30, 49, 74)
HSLhsl(214, 42%, 20%)
OKLCHoklch(31% 0.052 255.7)

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 #1E314A 13.17:1 AAA Lc -102.6 Preferred for body text
Black text on #1E314A 1.59:1 Fails Lc 0.0 Not readable
#1E314A text on white 13.17:1 AAA Lc 99.4 Preferred for body text
#1E314A text on black 1.59: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

    #F2F6FB

    oklch(97.2% 0.008 253.9)

  2. Step 100

    100

    #E2EBF6

    oklch(93.7% 0.018 253.3)

  3. Step 200

    200

    #CBDBF0

    oklch(88.6% 0.034 255.2)

  4. Step 300

    300

    #A7C3E8

    oklch(80.9% 0.061 255.5)

  5. Step 400

    400

    #77A3DD

    oklch(70.7% 0.098 255.6)

  6. Step 500

    500

    #538BD4

    oklch(63.1% 0.126 255.7)

  7. Step 600

    600

    #3774C1

    oklch(55.7% 0.136 255.6)

  8. Step 700

    700

    #2961A7

    oklch(49.2% 0.127 255.6)

  9. Step 800

    800

    #234F87

    oklch(42.7% 0.105 255.7)

  10. Step 900

    900

    #22426C

    oklch(37.7% 0.082 256)

  11. Step 950

    950 (this color)

    #1E314A

    oklch(31% 0.052 255.7)

Export this scale for Tailwind in the Tailwind colors tool

#1E314A 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)#27324B0.014
Deuteranopia (no green cones)#212E490.010
Tritanopia (no blue cones)#06373A0.046
Achromatopsia (no color)#3030300.052

Harmonies

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

Complementary

The opposite hue (180°).

  • #1E314A

    #1E314A

    oklch(31% 0.052 255.7)

  • #3F2C0F

    #3F2C0F

    oklch(30.9% 0.051 75.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1E314A

    #1E314A

    oklch(31% 0.052 255.7)

  • #0B3544

    #0B3544

    oklch(30.8% 0.052 226.5)

  • #2E2C49

    #2E2C49

    oklch(30.9% 0.052 286.1)

Open the analogous palette in the generator

Split complementary

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

  • #1E314A

    #1E314A

    oklch(31% 0.052 255.7)

  • #462719

    #462719

    oklch(30.9% 0.052 44.7)

  • #34320F

    #34320F

    oklch(31.1% 0.053 106)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1E314A

    #1E314A

    oklch(31% 0.052 255.7)

  • #472527

    #472527

    oklch(31% 0.052 16.7)

  • #24361B

    #24361B

    oklch(30.9% 0.052 135.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1E314A

    #1E314A

    oklch(31% 0.052 255.7)

  • #432536

    #432536

    oklch(31% 0.052 345.5)

  • #3F2C0F

    #3F2C0F

    oklch(30.9% 0.051 75.2)

  • #11382A

    #11382A

    oklch(30.8% 0.051 166.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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