#316A8A

Closest named color: Denim (#3B638C). oklch(50% 0.078 235.9), rgb(49, 106, 138).

Aa

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

About this color

#316A8A is a medium-dark, moderately saturated blue. In OKLCH its lightness is 50%, its chroma 0.078 and its hue 236°. Its hue sits on the cool side of the wheel. The nearest named color is Denim (#3B638C), ΔE 0.023 away. White text reads best on it, at 5.90:1.

Hue familyBlues
Lightnessmedium-dark (50%)
Chromamoderately saturated (0.078)
Temperaturecool
Nearest nameDenim (#3B638C)
Black text3.55:1
White text5.90:1

Values

HEX#316A8A
RGBrgb(49, 106, 138)
HSLhsl(202, 48%, 37%)
OKLCHoklch(50% 0.078 235.9)

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 #316A8A 5.90:1 AA Lc -84.5 Fine for body text
Black text on #316A8A 3.55:1 AA large text Lc 24.7 Dividers and decoration only
#316A8A text on white 5.90:1 AA Lc 79.3 Fine for body text
#316A8A text on black 3.55:1 AA large text Lc -22.5 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

    #F2F6F8

    oklch(97.1% 0.005 228.8)

  2. Step 100

    100

    #E3EBF0

    oklch(93.5% 0.011 234.8)

  3. Step 200

    200

    #CDDCE5

    oklch(88.6% 0.02 233.9)

  4. Step 300

    300

    #AAC5D6

    oklch(80.9% 0.038 235.6)

  5. Step 400

    400

    #7CA7C2

    oklch(70.7% 0.061 236.3)

  6. Step 500

    500

    #5991B2

    oklch(63.1% 0.077 235.7)

  7. Step 600

    600

    #3D7B9E

    oklch(55.7% 0.084 235.8)

  8. Step 700

    700 (this color)

    #316A8A

    oklch(50% 0.078 235.9)

  9. Step 800

    800

    #27546E

    oklch(42.6% 0.066 236.5)

  10. Step 900

    900

    #254659

    oklch(37.8% 0.051 235.5)

  11. Step 950

    950

    #162934

    oklch(27% 0.032 235.1)

Export this scale for Tailwind in the Tailwind colors tool

#316A8A 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)#5B698C0.048
Deuteranopia (no green cones)#4F60890.041
Tritanopia (no blue cones)#0072750.054
Achromatopsia (no color)#6464640.079

Harmonies

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

Complementary

The opposite hue (180°).

  • #316A8A

    #316A8A

    oklch(50% 0.078 235.9)

  • #855735

    #855735

    oklch(50% 0.078 56.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #316A8A

    #316A8A

    oklch(50% 0.078 235.9)

  • #197079

    #197079

    oklch(50.1% 0.078 205.5)

  • #4E6290

    #4E6290

    oklch(50% 0.078 265.7)

Open the analogous palette in the generator

Split complementary

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

  • #316A8A

    #316A8A

    oklch(50% 0.078 235.9)

  • #8B514C

    #8B514C

    oklch(50.1% 0.079 25.5)

  • #776029

    #776029

    oklch(50% 0.079 86.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #316A8A

    #316A8A

    oklch(50% 0.078 235.9)

  • #875065

    #875065

    oklch(50.1% 0.078 355.9)

  • #616932

    #616932

    oklch(50.1% 0.078 116.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #316A8A

    #316A8A

    oklch(50% 0.078 235.9)

  • #7B537B

    #7B537B

    oklch(50% 0.079 326.7)

  • #855735

    #855735

    oklch(50% 0.078 56.3)

  • #456F48

    #456F48

    oklch(50% 0.077 146)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #316A8A 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.