#31568F

Closest named color: Dusk Blue (#26538D). oklch(45.5% 0.103 258.8), rgb(49, 86, 143).

Aa

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

About this color

#31568F is a medium-dark, moderately saturated blue. In OKLCH its lightness is 45%, its chroma 0.103 and its hue 259°. Its hue sits on the cool side of the wheel. The nearest named color is Dusk Blue (#26538D), ΔE 0.015 away. White text reads best on it, at 7.34:1.

Hue familyBlues
Lightnessmedium-dark (45%)
Chromamoderately saturated (0.103)
Temperaturecool
Nearest nameDusk Blue (#26538D)
Black text2.85:1
White text7.34:1

Values

HEX#31568F
RGBrgb(49, 86, 143)
HSLhsl(216, 49%, 38%)
OKLCHoklch(45.5% 0.103 258.8)

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 #31568F 7.34:1 AAA Lc -90.2 Preferred for body text
Black text on #31568F 2.85:1 Fails Lc 18.7 Dividers and decoration only
#31568F text on white 7.34:1 AAA Lc 85.3 Fine for body text
#31568F text on black 2.85:1 Fails Lc -16.7 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 800.

  1. Step 50

    50

    #F2F6FB

    oklch(97.2% 0.008 253.9)

  2. Step 100

    100

    #E3EAF6

    oklch(93.5% 0.018 261.3)

  3. Step 200

    200

    #CCDAF0

    oklch(88.5% 0.034 259.4)

  4. Step 300

    300

    #A9C2E8

    oklch(80.8% 0.061 258.7)

  5. Step 400

    400

    #7CA2DD

    oklch(70.8% 0.097 259)

  6. Step 500

    500

    #5A8AD3

    oklch(63.2% 0.122 258.5)

  7. Step 600

    600

    #3F72C0

    oklch(55.5% 0.134 258.7)

  8. Step 700

    700

    #315FA6

    oklch(49% 0.125 258.9)

  9. Step 800

    800 (this color)

    #31568F

    oklch(45.5% 0.103 258.8)

  10. Step 900

    900

    #26416C

    oklch(37.6% 0.081 259.3)

  11. Step 950

    950

    #17273F

    oklch(27.2% 0.05 258.3)

Export this scale for Tailwind in the Tailwind colors tool

#31568F 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)#3D5B910.021
Deuteranopia (no green cones)#2F528E0.012
Tritanopia (no blue cones)#00636B0.085
Achromatopsia (no color)#5656560.103

Harmonies

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

Complementary

The opposite hue (180°).

  • #31568F

    #31568F

    oklch(45.5% 0.103 258.8)

  • #734F00

    #734F00

    oklch(45.5% 0.095 78.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #31568F

    #31568F

    oklch(45.5% 0.103 258.8)

  • #005F7E

    #005F7E

    oklch(45.4% 0.09 229.2)

  • #554B8C

    #554B8C

    oklch(45.4% 0.104 288.6)

Open the analogous palette in the generator

Split complementary

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

  • #31568F

    #31568F

    oklch(45.5% 0.103 258.8)

  • #83421B

    #83421B

    oklch(45.4% 0.103 48.5)

  • #5C5A00

    #5C5A00

    oklch(45.5% 0.098 108.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #31568F

    #31568F

    oklch(45.5% 0.103 258.8)

  • #863B40

    #863B40

    oklch(45.3% 0.103 18)

  • #366428

    #366428

    oklch(45.5% 0.103 138.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #31568F

    #31568F

    oklch(45.5% 0.103 258.8)

  • #7F3C60

    #7F3C60

    oklch(45.5% 0.103 348.5)

  • #734F00

    #734F00

    oklch(45.5% 0.095 78.4)

  • #00664D

    #00664D

    oklch(45.3% 0.091 168.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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