#031335

Closest named color: Navy Blue (#001146). oklch(19.8% 0.071 261.3), rgb(3, 19, 53).

Aa

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

About this color

#031335 is a very dark, moderately saturated blue. In OKLCH its lightness is 20%, its chroma 0.071 and its hue 261°. Its hue sits on the cool side of the wheel. The nearest named color is Navy Blue (#001146), ΔE 0.033 away. White text reads best on it, at 18.28:1.

Hue familyBlues
Lightnessvery dark (20%)
Chromamoderately saturated (0.071)
Temperaturecool
Nearest nameNavy Blue (#001146)
Black text1.14:1
White text18.28:1

Values

HEX#031335
RGBrgb(3, 19, 53)
HSLhsl(221, 89%, 11%)
OKLCHoklch(19.8% 0.071 261.3)

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 #031335 18.28:1 AAA Lc -106.9 Preferred for body text
Black text on #031335 1.14:1 Fails Lc 0.0 Not readable
#031335 text on white 18.28:1 AAA Lc 104.7 Preferred for body text
#031335 text on black 1.14:1 Fails Lc 0.0 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 950.

  1. Step 50

    50

    #F1F6FD

    oklch(97.1% 0.011 256.7)

  2. Step 100

    100

    #E1EAFB

    oklch(93.5% 0.025 263.3)

  3. Step 200

    200

    #C8DAF9

    oklch(88.5% 0.047 261.4)

  4. Step 300

    300

    #A2C2F8

    oklch(81% 0.084 260.7)

  5. Step 400

    400

    #70A0F4

    oklch(70.8% 0.134 261)

  6. Step 500

    500

    #4A85F0

    oklch(63.1% 0.172 261.2)

  7. Step 600

    600

    #2D6CDF

    oklch(55.7% 0.187 261.2)

  8. Step 700

    700

    #2059C1

    oklch(49.1% 0.174 261.2)

  9. Step 800

    800

    #1D499C

    oklch(42.6% 0.144 261.6)

  10. Step 900

    900

    #1D3E7C

    oklch(37.6% 0.112 261.6)

  11. Step 950

    950 (this color)

    #031335

    oklch(19.8% 0.071 261.3)

Export this scale for Tailwind in the Tailwind colors tool

#031335 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)#0017360.013
Deuteranopia (no green cones)#0013340.005
Tritanopia (no blue cones)#001B210.054
Achromatopsia (no color)#1515150.071

Harmonies

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

Complementary

The opposite hue (180°).

  • #031335

    #031335

    oklch(19.8% 0.071 261.3)

  • #1F1300

    #1F1300

    oklch(19.8% 0.041 80.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #031335

    #031335

    oklch(19.8% 0.071 261.3)

  • #001824

    #001824

    oklch(19.6% 0.04 231.9)

  • #170D32

    #170D32

    oklch(19.8% 0.07 291.1)

Open the analogous palette in the generator

Split complementary

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

  • #031335

    #031335

    oklch(19.8% 0.071 261.3)

  • #270D00

    #270D00

    oklch(19.8% 0.052 51)

  • #161700

    #161700

    oklch(19.7% 0.044 111.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #031335

    #031335

    oklch(19.8% 0.071 261.3)

  • #2F0307

    #2F0307

    oklch(19.9% 0.072 20.6)

  • #021C00

    #021C00

    oklch(19.8% 0.065 140.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #031335

    #031335

    oklch(19.8% 0.071 261.3)

  • #2B0419

    #2B0419

    oklch(19.8% 0.07 351.6)

  • #1F1300

    #1F1300

    oklch(19.8% 0.041 80.2)

  • #001B13

    #001B13

    oklch(19.8% 0.039 170.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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