#31366C

Closest named color: Marine Blue (#01386A). oklch(35.8% 0.092 276.7), rgb(49, 54, 108).

Aa

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

About this color

#31366C is a dark, moderately saturated blue. In OKLCH its lightness is 36%, its chroma 0.092 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.20:1.

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

Values

HEX#31366C
RGBrgb(49, 54, 108)
HSLhsl(235, 38%, 31%)
OKLCHoklch(35.8% 0.092 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 #31366C 11.20:1 AAA Lc -99.5 Preferred for body text
Black text on #31366C 1.87:1 Fails Lc 8.2 Not readable
#31366C text on white 11.20:1 AAA Lc 95.7 Preferred for body text
#31366C 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

    #D2D7F3

    oklch(88.4% 0.039 277.6)

  4. Step 300

    300

    #B4BDEE

    oklch(80.8% 0.07 276.6)

  5. Step 400

    400

    #8F9AE5

    oklch(70.7% 0.11 276.8)

  6. Step 500

    500

    #747FDE

    oklch(63.1% 0.142 276.5)

  7. Step 600

    600

    #5E66CB

    oklch(55.5% 0.154 276.7)

  8. Step 700

    700

    #4E54B0

    oklch(49% 0.144 276.9)

  9. Step 800

    800

    #40468E

    oklch(42.8% 0.117 276.6)

  10. Step 900

    900 (this color)

    #31366C

    oklch(35.8% 0.092 276.7)

  11. Step 950

    950

    #1F2343

    oklch(27% 0.059 276.3)

Export this scale for Tailwind in the Tailwind colors tool

#31366C 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)#1E3D6E0.029
Deuteranopia (no green cones)#17396B0.032
Tritanopia (no blue cones)#18424B0.082
Achromatopsia (no color)#3B3B3B0.093

Harmonies

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

Complementary

The opposite hue (180°).

  • #31366C

    #31366C

    oklch(35.8% 0.092 276.7)

  • #483C00

    #483C00

    oklch(35.8% 0.074 96.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #31366C

    #31366C

    oklch(35.8% 0.092 276.7)

  • #013F6A

    #013F6A

    oklch(35.8% 0.093 246.9)

  • #492D62

    #492D62

    oklch(35.7% 0.093 306.7)

Open the analogous palette in the generator

Split complementary

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

  • #31366C

    #31366C

    oklch(35.8% 0.092 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.

  • #31366C

    #31366C

    oklch(35.8% 0.092 276.7)

  • #642716

    #642716

    oklch(35.8% 0.093 36.4)

  • #004929

    #004929

    oklch(35.7% 0.085 156.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #31366C

    #31366C

    oklch(35.8% 0.092 276.7)

  • #632434

    #632434

    oklch(35.8% 0.092 7.3)

  • #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 #31366C, closest first.

Similar named colors

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

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