#316397

Closest named color: Denim (#3B638C). oklch(49% 0.1 251.4), rgb(49, 99, 151).

Aa

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

About this color

#316397 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 49%, its chroma 0.100 and its hue 251°. Its hue sits on the cool side of the wheel. The nearest named color is Denim (#3B638C), ΔE 0.020 away. White text reads best on it, at 6.24:1.

Hue familyBlues
Lightnessmedium-dark (49%)
Chromamoderately saturated (0.100)
Temperaturecool
Nearest nameDenim (#3B638C)
Black text3.36:1
White text6.24:1

Values

HEX#316397
RGBrgb(49, 99, 151)
HSLhsl(211, 51%, 39%)
OKLCHoklch(49% 0.1 251.4)

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 #316397 6.24:1 AA Lc -86.0 Fine for body text
Black text on #316397 3.36:1 AA large text Lc 23.2 Dividers and decoration only
#316397 text on white 6.24:1 AA Lc 80.9 Fine for body text
#316397 text on black 3.36:1 AA large text Lc -21.0 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

    #E3EBF3

    oklch(93.6% 0.014 248)

  3. Step 200

    200

    #CDDBEB

    oklch(88.6% 0.027 251.7)

  4. Step 300

    300

    #AAC3E0

    oklch(80.8% 0.049 252.3)

  5. Step 400

    400

    #7DA4D0

    oklch(70.7% 0.078 251.9)

  6. Step 500

    500

    #5B8DC3

    oklch(63.1% 0.098 251.4)

  7. Step 600

    600

    #4076B0

    oklch(55.5% 0.108 251.8)

  8. Step 700

    700 (this color)

    #316397

    oklch(49% 0.1 251.4)

  9. Step 800

    800

    #2A517B

    oklch(42.7% 0.083 251.9)

  10. Step 900

    900

    #264363

    oklch(37.6% 0.065 252.1)

  11. Step 950

    950

    #17283A

    oklch(27.1% 0.041 250.8)

Export this scale for Tailwind in the Tailwind colors tool

#316397 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)#4C66990.032
Deuteranopia (no green cones)#3E5C960.022
Tritanopia (no blue cones)#006F760.077
Achromatopsia (no color)#6060600.100

Harmonies

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

Complementary

The opposite hue (180°).

  • #316397

    #316397

    oklch(49% 0.1 251.4)

  • #83550E

    #83550E

    oklch(48.9% 0.1 71.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #316397

    #316397

    oklch(49% 0.1 251.4)

  • #006B84

    #006B84

    oklch(48.9% 0.09 221.3)

  • #575897

    #575897

    oklch(48.9% 0.1 281.4)

Open the analogous palette in the generator

Split complementary

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

  • #316397

    #316397

    oklch(49% 0.1 251.4)

  • #8F4B31

    #8F4B31

    oklch(49% 0.1 41.2)

  • #6D6207

    #6D6207

    oklch(49.2% 0.1 101.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #316397

    #316397

    oklch(49% 0.1 251.4)

  • #904652

    #904652

    oklch(49.1% 0.1 11.3)

  • #4C6C2B

    #4C6C2B

    oklch(49.1% 0.1 131.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #316397

    #316397

    oklch(49% 0.1 251.4)

  • #864871

    #864871

    oklch(49.1% 0.1 341.3)

  • #83550E

    #83550E

    oklch(48.9% 0.1 71.1)

  • #18724E

    #18724E

    oklch(49.2% 0.1 161.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #316397 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.