#31617E

Closest named color: YInMn Blue (#415A77). oklch(47.2% 0.07 237.3), rgb(49, 97, 126).

Aa

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

About this color

#31617E is a medium-dark, moderately saturated blue. In OKLCH its lightness is 47%, its chroma 0.070 and its hue 237°. Its hue sits on the cool side of the wheel. The nearest named color is YInMn Blue (#415A77), ΔE 0.025 away. White text reads best on it, at 6.68:1.

Hue familyBlues
Lightnessmedium-dark (47%)
Chromamoderately saturated (0.070)
Temperaturecool
Nearest nameYInMn Blue (#415A77)
Black text3.14:1
White text6.68:1

Values

HEX#31617E
RGBrgb(49, 97, 126)
HSLhsl(203, 44%, 34%)
OKLCHoklch(47.2% 0.07 237.3)

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 #31617E 6.68:1 AA Lc -87.9 Fine for body text
Black text on #31617E 3.14:1 AA large text Lc 21.2 Dividers and decoration only
#31617E text on white 6.68:1 AA Lc 82.8 Fine for body text
#31617E text on black 3.14:1 AA large text Lc -19.1 Dividers and decoration only

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 700.

  1. Step 50

    50

    #F3F6F8

    oklch(97.1% 0.004 236.5)

  2. Step 100

    100

    #E4EBF0

    oklch(93.6% 0.01 238.5)

  3. Step 200

    200

    #CEDBE4

    oklch(88.4% 0.019 237.8)

  4. Step 300

    300

    #ADC4D4

    oklch(80.8% 0.034 238.3)

  5. Step 400

    400

    #81A6BF

    oklch(70.7% 0.055 238.1)

  6. Step 500

    500

    #6090AF

    oklch(63.1% 0.07 237.7)

  7. Step 600

    600

    #457A9A

    oklch(55.6% 0.075 236.8)

  8. Step 700

    700 (this color)

    #31617E

    oklch(47.2% 0.07 237.3)

  9. Step 800

    800

    #2E546B

    oklch(42.8% 0.058 236.8)

  10. Step 900

    900

    #294557

    oklch(37.6% 0.046 237.9)

  11. Step 950

    950

    #192933

    oklch(27.1% 0.028 236.7)

Export this scale for Tailwind in the Tailwind colors tool

#31617E 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)#54607F0.042
Deuteranopia (no green cones)#49597E0.034
Tritanopia (no blue cones)#00686B0.051
Achromatopsia (no color)#5C5C5C0.070

Harmonies

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

Complementary

The opposite hue (180°).

  • #31617E

    #31617E

    oklch(47.2% 0.07 237.3)

  • #795132

    #795132

    oklch(47.2% 0.07 57.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #31617E

    #31617E

    oklch(47.2% 0.07 237.3)

  • #1E666F

    #1E666F

    oklch(47.1% 0.07 207.1)

  • #4A5A83

    #4A5A83

    oklch(47.2% 0.07 267.4)

Open the analogous palette in the generator

Split complementary

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

  • #31617E

    #31617E

    oklch(47.2% 0.07 237.3)

  • #7E4B45

    #7E4B45

    oklch(47.1% 0.071 27.3)

  • #6C5929

    #6C5929

    oklch(47.2% 0.07 87.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #31617E

    #31617E

    oklch(47.2% 0.07 237.3)

  • #7B4A5C

    #7B4A5C

    oklch(47.1% 0.071 356.6)

  • #586131

    #586131

    oklch(47.3% 0.071 117.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #31617E

    #31617E

    oklch(47.2% 0.07 237.3)

  • #714D70

    #714D70

    oklch(47.3% 0.071 327.6)

  • #795132

    #795132

    oklch(47.2% 0.07 57.8)

  • #3F6644

    #3F6644

    oklch(47.1% 0.07 147.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #31617E 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.