#313B70

Closest named color: Twilight Blue (#0A437A). oklch(37.2% 0.091 273.1), rgb(49, 59, 112).

Aa

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

About this color

#313B70 is a dark, moderately saturated blue. In OKLCH its lightness is 37%, its chroma 0.091 and its hue 273°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight Blue (#0A437A), ΔE 0.040 away. White text reads best on it, at 10.55:1.

Hue familyBlues
Lightnessdark (37%)
Chromamoderately saturated (0.091)
Temperaturecool
Nearest nameTwilight Blue (#0A437A)
Black text1.99:1
White text10.55:1

Values

HEX#313B70
RGBrgb(49, 59, 112)
HSLhsl(230, 39%, 32%)
OKLCHoklch(37.2% 0.091 273.1)

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 #313B70 10.55:1 AAA Lc -98.3 Preferred for body text
Black text on #313B70 1.99:1 Fails Lc 9.6 Not readable
#313B70 text on white 10.55:1 AAA Lc 94.3 Preferred for body text
#313B70 text on black 1.99:1 Fails Lc -8.2 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 900.

  1. Step 50

    50

    #F3F5FC

    oklch(97.1% 0.01 273.4)

  2. Step 100

    100

    #E5E9F8

    oklch(93.5% 0.021 274)

  3. Step 200

    200

    #D0D8F3

    oklch(88.5% 0.038 272.5)

  4. Step 300

    300

    #B2BEEE

    oklch(80.9% 0.069 273.8)

  5. Step 400

    400

    #8A9CE5

    oklch(70.8% 0.109 272.8)

  6. Step 500

    500

    #6E81DD

    oklch(63% 0.14 273)

  7. Step 600

    600

    #5869CB

    oklch(55.7% 0.152 273.1)

  8. Step 700

    700

    #4857B0

    oklch(49.2% 0.142 272.9)

  9. Step 800

    800

    #3B478E

    oklch(42.6% 0.117 273.2)

  10. Step 900

    900 (this color)

    #313B70

    oklch(37.2% 0.091 273.1)

  11. Step 950

    950

    #1D2442

    oklch(27% 0.057 272.2)

Export this scale for Tailwind in the Tailwind colors tool

#313B70 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)#2442720.024
Deuteranopia (no green cones)#1D3C6F0.024
Tritanopia (no blue cones)#1247500.082
Achromatopsia (no color)#3F3F3F0.091

Harmonies

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

Complementary

The opposite hue (180°).

  • #313B70

    #313B70

    oklch(37.2% 0.091 273.1)

  • #4E3F00

    #4E3F00

    oklch(37.3% 0.076 93.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #313B70

    #313B70

    oklch(37.2% 0.091 273.1)

  • #00446C

    #00446C

    oklch(37.2% 0.091 243.4)

  • #4A3267

    #4A3267

    oklch(37.1% 0.091 303.1)

Open the analogous palette in the generator

Split complementary

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

  • #313B70

    #313B70

    oklch(37.2% 0.091 273.1)

  • #5F3400

    #5F3400

    oklch(37.1% 0.085 62.5)

  • #374700

    #374700

    oklch(37% 0.091 123)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #313B70

    #313B70

    oklch(37.2% 0.091 273.1)

  • #682B1E

    #682B1E

    oklch(37.3% 0.091 33.6)

  • #074E28

    #074E28

    oklch(37.3% 0.092 153.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #313B70

    #313B70

    oklch(37.2% 0.091 273.1)

  • #66283B

    #66283B

    oklch(37.2% 0.091 3.4)

  • #4E3F00

    #4E3F00

    oklch(37.3% 0.076 93.6)

  • #004B44

    #004B44

    oklch(37.1% 0.066 184.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #313B70 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.