#31384C

Closest named color: Dark Blue Grey (#1F3B4D). oklch(34.3% 0.036 269.5), rgb(49, 56, 76).

Aa

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

About this color

#31384C is a dark, muted blue. In OKLCH its lightness is 34%, its chroma 0.036 and its hue 269°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Blue Grey (#1F3B4D), ΔE 0.025 away. White text reads best on it, at 11.66:1.

Hue familyBlues
Lightnessdark (34%)
Chromamuted (0.036)
Temperaturecool
Nearest nameDark Blue Grey (#1F3B4D)
Black text1.80:1
White text11.66:1

Values

HEX#31384C
RGBrgb(49, 56, 76)
HSLhsl(224, 22%, 25%)
OKLCHoklch(34.3% 0.036 269.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 #31384C 11.66:1 AAA Lc -100.5 Preferred for body text
Black text on #31384C 1.80:1 Fails Lc 0.0 Not readable
#31384C text on white 11.66:1 AAA Lc 96.8 Preferred for body text
#31384C text on black 1.80: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 900.

  1. Step 50

    50

    #F4F5F8

    oklch(97% 0.004 271.4)

  2. Step 100

    100

    #E8EAEF

    oklch(93.7% 0.007 268.5)

  3. Step 200

    200

    #D5D9E4

    oklch(88.5% 0.016 270)

  4. Step 300

    300

    #B9C0D3

    oklch(80.8% 0.028 269.6)

  5. Step 400

    400

    #95A0BD

    oklch(70.7% 0.044 268.9)

  6. Step 500

    500

    #7C88AC

    oklch(63% 0.056 270.4)

  7. Step 600

    600

    #657298

    oklch(55.6% 0.061 269.7)

  8. Step 700

    700

    #545F81

    oklch(49% 0.056 270.4)

  9. Step 800

    800

    #454E69

    oklch(42.7% 0.046 270.1)

  10. Step 900

    900 (this color)

    #31384C

    oklch(34.3% 0.036 269.5)

  11. Step 950

    950

    #222632

    oklch(27% 0.023 270.4)

Export this scale for Tailwind in the Tailwind colors tool

#31384C 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)#323A4D0.007
Deuteranopia (no green cones)#2F374C0.005
Tritanopia (no blue cones)#293C3F0.033
Achromatopsia (no color)#3838380.037

Harmonies

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

Complementary

The opposite hue (180°).

  • #31384C

    #31384C

    oklch(34.3% 0.036 269.5)

  • #403822

    #403822

    oklch(34.3% 0.037 90.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #31384C

    #31384C

    oklch(34.3% 0.036 269.5)

  • #273B4A

    #273B4A

    oklch(34.2% 0.037 241.5)

  • #3B3549

    #3B3549

    oklch(34.4% 0.035 298.3)

Open the analogous palette in the generator

Split complementary

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

  • #31384C

    #31384C

    oklch(34.3% 0.036 269.5)

  • #473425

    #473425

    oklch(34.2% 0.037 59.4)

  • #363C26

    #363C26

    oklch(34.4% 0.037 120.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #31384C

    #31384C

    oklch(34.3% 0.036 269.5)

  • #4A322E

    #4A322E

    oklch(34.4% 0.036 29.6)

  • #2B3E2E

    #2B3E2E

    oklch(34.2% 0.037 149)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #31384C

    #31384C

    oklch(34.3% 0.036 269.5)

  • #493138

    #493138

    oklch(34.4% 0.036 0.1)

  • #403822

    #403822

    oklch(34.3% 0.037 90.3)

  • #223F39

    #223F39

    oklch(34.3% 0.037 179.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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