#315366

Closest named color: Dark Slate Gray (#2F4F4F). oklch(42.5% 0.051 234.2), rgb(49, 83, 102).

Aa

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

About this color

#315366 is a dark, muted blue. In OKLCH its lightness is 42%, its chroma 0.051 and its hue 234°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Slate Gray (#2F4F4F), ΔE 0.038 away. White text reads best on it, at 8.20:1.

Hue familyBlues
Lightnessdark (42%)
Chromamuted (0.051)
Temperaturecool
Nearest nameDark Slate Gray (#2F4F4F)
Black text2.55:1
White text8.20:1

Values

HEX#315366
RGBrgb(49, 83, 102)
HSLhsl(202, 35%, 30%)
OKLCHoklch(42.5% 0.051 234.2)

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 #315366 8.20:1 AAA Lc -92.9 Preferred for body text
Black text on #315366 2.55:1 Fails Lc 15.7 Dividers and decoration only
#315366 text on white 8.20:1 AAA Lc 88.3 Fine for body text
#315366 text on black 2.55:1 Fails Lc -13.9 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 800.

  1. Step 50

    50

    #F3F6F8

    oklch(97.1% 0.004 236.5)

  2. Step 100

    100

    #E5EBEF

    oklch(93.7% 0.008 236.6)

  3. Step 200

    200

    #CFDBE2

    oklch(88.4% 0.016 233)

  4. Step 300

    300

    #AFC4D1

    oklch(80.9% 0.029 234.9)

  5. Step 400

    400

    #84A6BA

    oklch(70.7% 0.047 234.1)

  6. Step 500

    500

    #6590A9

    oklch(63.1% 0.06 234.5)

  7. Step 600

    600

    #4B7A94

    oklch(55.6% 0.065 233.9)

  8. Step 700

    700

    #3C677E

    oklch(49.2% 0.06 233.2)

  9. Step 800

    800 (this color)

    #315366

    oklch(42.5% 0.051 234.2)

  10. Step 900

    900

    #2C4554

    oklch(37.7% 0.04 235.6)

  11. Step 950

    950

    #1A2931

    oklch(27.1% 0.025 232.2)

Export this scale for Tailwind in the Tailwind colors tool

#315366 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)#4A52670.033
Deuteranopia (no green cones)#434C660.030
Tritanopia (no blue cones)#1658590.039
Achromatopsia (no color)#4F4F4F0.051

Harmonies

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

Complementary

The opposite hue (180°).

  • #315366

    #315366

    oklch(42.5% 0.051 234.2)

  • #644733

    #644733

    oklch(42.4% 0.051 55.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #315366

    #315366

    oklch(42.5% 0.051 234.2)

  • #29565B

    #29565B

    oklch(42.3% 0.05 205)

  • #404E6A

    #404E6A

    oklch(42.4% 0.05 263.8)

Open the analogous palette in the generator

Split complementary

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

  • #315366

    #315366

    oklch(42.5% 0.051 234.2)

  • #674341

    #674341

    oklch(42.3% 0.05 22.9)

  • #5B4C2D

    #5B4C2D

    oklch(42.4% 0.05 84.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #315366

    #315366

    oklch(42.5% 0.051 234.2)

  • #654350

    #654350

    oklch(42.6% 0.051 354.8)

  • #4E5231

    #4E5231

    oklch(42.6% 0.051 114.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #315366

    #315366

    oklch(42.5% 0.051 234.2)

  • #5C455E

    #5C455E

    oklch(42.4% 0.05 323.8)

  • #644733

    #644733

    oklch(42.4% 0.051 55.5)

  • #3D563D

    #3D563D

    oklch(42.5% 0.051 144.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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