#31467D

Closest named color: Cobalt (#1E488F). oklch(40.6% 0.096 266.4), rgb(49, 70, 125).

Aa

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

About this color

#31467D is a dark, moderately saturated blue. In OKLCH its lightness is 41%, its chroma 0.096 and its hue 266°. Its hue sits on the cool side of the wheel. The nearest named color is Cobalt (#1E488F), ΔE 0.034 away. White text reads best on it, at 9.11:1.

Hue familyBlues
Lightnessdark (41%)
Chromamoderately saturated (0.096)
Temperaturecool
Nearest nameCobalt (#1E488F)
Black text2.30:1
White text9.11:1

Values

HEX#31467D
RGBrgb(49, 70, 125)
HSLhsl(223, 44%, 34%)
OKLCHoklch(40.6% 0.096 266.4)

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 #31467D 9.11:1 AAA Lc -95.2 Preferred for body text
Black text on #31467D 2.30:1 Fails Lc 13.2 Not readable
#31467D text on white 9.11:1 AAA Lc 90.8 Preferred for body text
#31467D text on black 2.30:1 Fails Lc -11.5 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 800.

  1. Step 50

    50

    #F3F5FB

    oklch(97% 0.008 271.3)

  2. Step 100

    100

    #E5EAF5

    oklch(93.6% 0.016 266.3)

  3. Step 200

    200

    #D0D9EF

    oklch(88.5% 0.032 268)

  4. Step 300

    300

    #B0C0E6

    oklch(80.8% 0.057 267.2)

  5. Step 400

    400

    #879FD9

    oklch(70.6% 0.09 266.8)

  6. Step 500

    500

    #6987CF

    oklch(63.2% 0.114 266)

  7. Step 600

    600

    #516FBC

    oklch(55.5% 0.125 266.4)

  8. Step 700

    700

    #425DA2

    oklch(49.2% 0.115 266.2)

  9. Step 800

    800 (this color)

    #31467D

    oklch(40.6% 0.096 266.4)

  10. Step 900

    900

    #2F4069

    oklch(37.8% 0.074 265.9)

  11. Step 950

    950

    #1C253E

    oklch(26.9% 0.049 268)

Export this scale for Tailwind in the Tailwind colors tool

#31467D 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)#2E4C7F0.017
Deuteranopia (no green cones)#24457C0.016
Tritanopia (no blue cones)#00525B0.085
Achromatopsia (no color)#4848480.096

Harmonies

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

Complementary

The opposite hue (180°).

  • #31467D

    #31467D

    oklch(40.6% 0.096 266.4)

  • #5D4500

    #5D4500

    oklch(40.5% 0.083 85.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #31467D

    #31467D

    oklch(40.6% 0.096 266.4)

  • #004F72

    #004F72

    oklch(40.5% 0.088 236.6)

  • #4F3C77

    #4F3C77

    oklch(40.5% 0.097 296.7)

Open the analogous palette in the generator

Split complementary

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

  • #31467D

    #31467D

    oklch(40.6% 0.096 266.4)

  • #6F3904

    #6F3904

    oklch(40.6% 0.096 56.6)

  • #474F00

    #474F00

    oklch(40.6% 0.093 116.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #31467D

    #31467D

    oklch(40.6% 0.096 266.4)

  • #75312C

    #75312C

    oklch(40.6% 0.097 26.5)

  • #1F5727

    #1F5727

    oklch(40.7% 0.097 146.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #31467D

    #31467D

    oklch(40.6% 0.096 266.4)

  • #70304A

    #70304A

    oklch(40.5% 0.095 356.7)

  • #5D4500

    #5D4500

    oklch(40.5% 0.083 85.9)

  • #005648

    #005648

    oklch(40.5% 0.075 176.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #31467D 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.