#31679F

Closest named color: Peacock Blue (#016795). oklch(50.4% 0.106 251.5), rgb(49, 103, 159).

Aa

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

About this color

#31679F is a medium-dark, moderately saturated blue. In OKLCH its lightness is 50%, its chroma 0.106 and its hue 251°. Its hue sits on the cool side of the wheel. The nearest named color is Peacock Blue (#016795), ΔE 0.030 away. White text reads best on it, at 5.88:1.

Hue familyBlues
Lightnessmedium-dark (50%)
Chromamoderately saturated (0.106)
Temperaturecool
Nearest namePeacock Blue (#016795)
Black text3.57:1
White text5.88:1

Values

HEX#31679F
RGBrgb(49, 103, 159)
HSLhsl(211, 53%, 41%)
OKLCHoklch(50.4% 0.106 251.5)

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 #31679F 5.88:1 AA Lc -84.4 Fine for body text
Black text on #31679F 3.57:1 AA large text Lc 24.9 Dividers and decoration only
#31679F text on white 5.88:1 AA Lc 79.2 Fine for body text
#31679F text on black 3.57:1 AA large text Lc -22.6 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

    #F2F6FA

    oklch(97.1% 0.007 247.9)

  2. Step 100

    100

    #E3EBF4

    oklch(93.7% 0.015 251.2)

  3. Step 200

    200

    #CCDBEC

    oklch(88.5% 0.029 251.5)

  4. Step 300

    300

    #A9C4E2

    oklch(81% 0.052 251.2)

  5. Step 400

    400

    #7AA4D3

    oklch(70.6% 0.083 251.8)

  6. Step 500

    500

    #578DC7

    oklch(63.1% 0.105 251.4)

  7. Step 600

    600

    #3B76B4

    oklch(55.6% 0.115 251.6)

  8. Step 700

    700 (this color)

    #31679F

    oklch(50.4% 0.106 251.5)

  9. Step 800

    800

    #26517D

    oklch(42.6% 0.088 251.1)

  10. Step 900

    900

    #244365

    oklch(37.6% 0.069 252.1)

  11. Step 950

    950

    #16283B

    oklch(27.1% 0.043 250.9)

Export this scale for Tailwind in the Tailwind colors tool

#31679F 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)#4E6AA10.033
Deuteranopia (no green cones)#3F609E0.022
Tritanopia (no blue cones)#00747B0.083
Achromatopsia (no color)#6464640.106

Harmonies

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

Complementary

The opposite hue (180°).

  • #31679F

    #31679F

    oklch(50.4% 0.106 251.5)

  • #8A5805

    #8A5805

    oklch(50.4% 0.107 70.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #31679F

    #31679F

    oklch(50.4% 0.106 251.5)

  • #00708A

    #00708A

    oklch(50.5% 0.093 221.3)

  • #5B5C9F

    #5B5C9F

    oklch(50.5% 0.105 281.3)

Open the analogous palette in the generator

Split complementary

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

  • #31679F

    #31679F

    oklch(50.4% 0.106 251.5)

  • #964D31

    #964D31

    oklch(50.4% 0.106 41.2)

  • #716600

    #716600

    oklch(50.5% 0.106 102)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #31679F

    #31679F

    oklch(50.4% 0.106 251.5)

  • #974855

    #974855

    oklch(50.5% 0.106 11.3)

  • #4E712A

    #4E712A

    oklch(50.6% 0.107 131.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #31679F

    #31679F

    oklch(50.4% 0.106 251.5)

  • #8D4A76

    #8D4A76

    oklch(50.5% 0.107 341.7)

  • #8A5805

    #8A5805

    oklch(50.4% 0.107 70.8)

  • #117751

    #117751

    oklch(50.5% 0.106 161.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #31679F 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.