#31376D

Closest named color: Marine Blue (#01386A). oklch(36.1% 0.093 276), rgb(49, 55, 109).

Aa

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

About this color

#31376D is a dark, moderately saturated blue. In OKLCH its lightness is 36%, its chroma 0.093 and its hue 276°. 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.06:1.

Hue familyBlues
Lightnessdark (36%)
Chromamoderately saturated (0.093)
Temperaturecool
Nearest nameMarine Blue (#01386A)
Black text1.89:1
White text11.06:1

Values

HEX#31376D
RGBrgb(49, 55, 109)
HSLhsl(234, 38%, 31%)
OKLCHoklch(36.1% 0.093 276)

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 #31376D 11.06:1 AAA Lc -99.3 Preferred for body text
Black text on #31376D 1.89:1 Fails Lc 8.5 Not readable
#31376D text on white 11.06:1 AAA Lc 95.4 Preferred for body text
#31376D text on black 1.89: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

    #F3F5FC

    oklch(97.1% 0.01 273.4)

  2. Step 100

    100

    #E6E9F8

    oklch(93.6% 0.02 276.9)

  3. Step 200

    200

    #D2D8F3

    oklch(88.6% 0.038 275.7)

  4. Step 300

    300

    #B4BDEE

    oklch(80.8% 0.07 276.6)

  5. Step 400

    400

    #8E9AE5

    oklch(70.7% 0.111 276.2)

  6. Step 500

    500

    #737FDE

    oklch(63% 0.143 276.1)

  7. Step 600

    600

    #5D67CC

    oklch(55.7% 0.154 275.9)

  8. Step 700

    700

    #4D55B0

    oklch(49.1% 0.143 276)

  9. Step 800

    800

    #3F468F

    oklch(42.8% 0.119 276)

  10. Step 900

    900 (this color)

    #31376D

    oklch(36.1% 0.093 276)

  11. Step 950

    950

    #1F2343

    oklch(27% 0.059 276.3)

Export this scale for Tailwind in the Tailwind colors tool

#31376D 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)#1F3E6F0.028
Deuteranopia (no green cones)#18396C0.030
Tritanopia (no blue cones)#16434C0.083
Achromatopsia (no color)#3C3C3C0.093

Harmonies

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

Complementary

The opposite hue (180°).

  • #31376D

    #31376D

    oklch(36.1% 0.093 276)

  • #493D00

    #493D00

    oklch(36.2% 0.075 96.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #31376D

    #31376D

    oklch(36.1% 0.093 276)

  • #00406A

    #00406A

    oklch(36% 0.092 245.9)

  • #492E63

    #492E63

    oklch(36% 0.093 305.8)

Open the analogous palette in the generator

Split complementary

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

  • #31376D

    #31376D

    oklch(36.1% 0.093 276)

  • #593300

    #593300

    oklch(36% 0.08 65.9)

  • #314500

    #314500

    oklch(36% 0.092 126.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #31376D

    #31376D

    oklch(36.1% 0.093 276)

  • #652817

    #652817

    oklch(36.2% 0.093 36.4)

  • #004A29

    #004A29

    oklch(36% 0.087 156.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #31376D

    #31376D

    oklch(36.1% 0.093 276)

  • #642536

    #642536

    oklch(36.2% 0.092 6.2)

  • #493D00

    #493D00

    oklch(36.2% 0.075 96.6)

  • #004842

    #004842

    oklch(36.1% 0.064 185.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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