#31366D

Closest named color: Marine Blue (#01386A). oklch(35.9% 0.094 276.7), rgb(49, 54, 109).

Aa

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

About this color

#31366D is a dark, moderately saturated blue. In OKLCH its lightness is 36%, its chroma 0.094 and its hue 277°. Its hue sits on the cool side of the wheel. The nearest named color is Marine Blue (#01386A), ΔE 0.046 away. White text reads best on it, at 11.17:1.

Hue familyBlues
Lightnessdark (36%)
Chromamoderately saturated (0.094)
Temperaturecool
Nearest nameMarine Blue (#01386A)
Black text1.87:1
White text11.17:1

Values

HEX#31366D
RGBrgb(49, 54, 109)
HSLhsl(235, 38%, 31%)
OKLCHoklch(35.9% 0.094 276.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 #31366D 11.17:1 AAA Lc -99.5 Preferred for body text
Black text on #31366D 1.87:1 Fails Lc 8.2 Not readable
#31366D text on white 11.17:1 AAA Lc 95.7 Preferred for body text
#31366D text on black 1.87: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

    #F4F5FC

    oklch(97.1% 0.009 279.7)

  2. Step 100

    100

    #E6E9F8

    oklch(93.6% 0.02 276.9)

  3. Step 200

    200

    #D2D7F4

    oklch(88.4% 0.04 277.8)

  4. Step 300

    300

    #B4BDEF

    oklch(80.9% 0.071 276.7)

  5. Step 400

    400

    #8E9AE6

    oklch(70.7% 0.112 276.3)

  6. Step 500

    500

    #747FDF

    oklch(63.1% 0.144 276.5)

  7. Step 600

    600

    #5E66CD

    oklch(55.6% 0.157 276.7)

  8. Step 700

    700

    #4E54B1

    oklch(49.1% 0.145 276.8)

  9. Step 800

    800

    #40458F

    oklch(42.6% 0.12 277.1)

  10. Step 900

    900 (this color)

    #31366D

    oklch(35.9% 0.094 276.7)

  11. Step 950

    950

    #1F2343

    oklch(27% 0.059 276.3)

Export this scale for Tailwind in the Tailwind colors tool

#31366D 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)#1D3E6F0.031
Deuteranopia (no green cones)#16396C0.032
Tritanopia (no blue cones)#17424C0.082
Achromatopsia (no color)#3B3B3B0.094

Harmonies

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

Complementary

The opposite hue (180°).

  • #31366D

    #31366D

    oklch(35.9% 0.094 276.7)

  • #483C00

    #483C00

    oklch(35.8% 0.074 96.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #31366D

    #31366D

    oklch(35.9% 0.094 276.7)

  • #003F6A

    #003F6A

    oklch(35.7% 0.093 246.7)

  • #4A2D63

    #4A2D63

    oklch(35.9% 0.095 307.1)

Open the analogous palette in the generator

Split complementary

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

  • #31366D

    #31366D

    oklch(35.9% 0.094 276.7)

  • #583300

    #583300

    oklch(35.9% 0.079 66.8)

  • #304500

    #304500

    oklch(35.9% 0.092 126.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #31366D

    #31366D

    oklch(35.9% 0.094 276.7)

  • #652715

    #652715

    oklch(36% 0.094 36.8)

  • #004A29

    #004A29

    oklch(36% 0.087 156.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #31366D

    #31366D

    oklch(35.9% 0.094 276.7)

  • #642335

    #642335

    oklch(35.9% 0.095 6.1)

  • #483C00

    #483C00

    oklch(35.8% 0.074 96.4)

  • #004742

    #004742

    oklch(35.8% 0.063 186.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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