#081F40

Closest named color: Oxford Blue (#1B263B). oklch(24.3% 0.069 257.9), rgb(8, 31, 64).

Aa

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

About this color

#081F40 is a very dark, muted blue. In OKLCH its lightness is 24%, its chroma 0.069 and its hue 258°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.038 away. White text reads best on it, at 16.40:1.

Hue familyBlues
Lightnessvery dark (24%)
Chromamuted (0.069)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.28:1
White text16.40:1

Values

HEX#081F40
RGBrgb(8, 31, 64)
HSLhsl(215, 78%, 14%)
OKLCHoklch(24.3% 0.069 257.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 #081F40 16.40:1 AAA Lc -105.7 Preferred for body text
Black text on #081F40 1.28:1 Fails Lc 0.0 Not readable
#081F40 text on white 16.40:1 AAA Lc 103.1 Preferred for body text
#081F40 text on black 1.28: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

    #E0EBFA

    oklch(93.6% 0.024 256.1)

  3. Step 200

    200

    #C7DBF8

    oklch(88.6% 0.046 257.6)

  4. Step 300

    300

    #A0C3F6

    oklch(81% 0.082 257.7)

  5. Step 400

    400

    #6BA1F1

    oklch(70.6% 0.131 258)

  6. Step 500

    500

    #4288ED

    oklch(63.2% 0.168 257.9)

  7. Step 600

    600

    #1F6FDB

    oklch(55.7% 0.182 257.8)

  8. Step 700

    700

    #105CBE

    oklch(49.1% 0.169 257.8)

  9. Step 800

    800

    #124C9A

    oklch(42.8% 0.14 257.8)

  10. Step 900

    900

    #17407A

    oklch(37.7% 0.109 257.8)

  11. Step 950

    950 (this color)

    #081F40

    oklch(24.3% 0.069 257.9)

Export this scale for Tailwind in the Tailwind colors tool

#081F40 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)#0E22410.013
Deuteranopia (no green cones)#031D3F0.010
Tritanopia (no blue cones)#00272C0.054
Achromatopsia (no color)#1F1F1F0.069

Harmonies

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

Complementary

The opposite hue (180°).

  • #081F40

    #081F40

    oklch(24.3% 0.069 257.9)

  • #2D1C00

    #2D1C00

    oklch(24.2% 0.051 77.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #081F40

    #081F40

    oklch(24.3% 0.069 257.9)

  • #002431

    #002431

    oklch(24.3% 0.047 226.9)

  • #1F193E

    #1F193E

    oklch(24.3% 0.068 287.7)

Open the analogous palette in the generator

Split complementary

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

  • #081F40

    #081F40

    oklch(24.3% 0.069 257.9)

  • #381400

    #381400

    oklch(24.4% 0.066 48.5)

  • #222100

    #222100

    oklch(24.1% 0.052 108.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #081F40

    #081F40

    oklch(24.3% 0.069 257.9)

  • #3A0E13

    #3A0E13

    oklch(24.1% 0.069 17.4)

  • #0D2703

    #0D2703

    oklch(24.3% 0.069 137.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #081F40

    #081F40

    oklch(24.3% 0.069 257.9)

  • #360F26

    #360F26

    oklch(24.2% 0.07 347.1)

  • #2D1C00

    #2D1C00

    oklch(24.2% 0.051 77.2)

  • #00271B

    #00271B

    oklch(24.2% 0.049 167.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #081F40 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.