#0B1F40

Closest named color: Oxford Blue (#1B263B). oklch(24.4% 0.068 259.9), rgb(11, 31, 64).

Aa

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

About this color

#0B1F40 is a very dark, muted blue. In OKLCH its lightness is 24%, its chroma 0.068 and its hue 260°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.036 away. White text reads best on it, at 16.35:1.

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

Values

HEX#0B1F40
RGBrgb(11, 31, 64)
HSLhsl(217, 71%, 15%)
OKLCHoklch(24.4% 0.068 259.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 #0B1F40 16.35:1 AAA Lc -105.6 Preferred for body text
Black text on #0B1F40 1.28:1 Fails Lc 0.0 Not readable
#0B1F40 text on white 16.35:1 AAA Lc 103.1 Preferred for body text
#0B1F40 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

    #E1EBFA

    oklch(93.7% 0.023 258.4)

  3. Step 200

    200

    #C8DAF7

    oklch(88.4% 0.045 259.9)

  4. Step 300

    300

    #A2C2F5

    oklch(80.9% 0.081 259.6)

  5. Step 400

    400

    #70A1F0

    oklch(70.8% 0.128 259.6)

  6. Step 500

    500

    #4987EB

    oklch(63.2% 0.164 259.5)

  7. Step 600

    600

    #2B6EDA

    oklch(55.7% 0.179 259.7)

  8. Step 700

    700

    #1E5BBD

    oklch(49.1% 0.167 259.8)

  9. Step 800

    800

    #1B4B99

    oklch(42.7% 0.138 259.8)

  10. Step 900

    900

    #1C3F7A

    oklch(37.7% 0.109 260.2)

  11. Step 950

    950 (this color)

    #0B1F40

    oklch(24.4% 0.068 259.9)

Export this scale for Tailwind in the Tailwind colors tool

#0B1F40 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.011
Deuteranopia (no green cones)#041D3F0.011
Tritanopia (no blue cones)#00272C0.054
Achromatopsia (no color)#2020200.068

Harmonies

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

Complementary

The opposite hue (180°).

  • #0B1F40

    #0B1F40

    oklch(24.4% 0.068 259.9)

  • #2D1D00

    #2D1D00

    oklch(24.5% 0.051 79.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0B1F40

    #0B1F40

    oklch(24.4% 0.068 259.9)

  • #002433

    #002433

    oklch(24.4% 0.049 230.6)

  • #20193E

    #20193E

    oklch(24.4% 0.068 289.1)

Open the analogous palette in the generator

Split complementary

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

  • #0B1F40

    #0B1F40

    oklch(24.4% 0.068 259.9)

  • #371500

    #371500

    oklch(24.4% 0.064 50.7)

  • #222200

    #222200

    oklch(24.4% 0.053 109.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0B1F40

    #0B1F40

    oklch(24.4% 0.068 259.9)

  • #3A0F12

    #3A0F12

    oklch(24.3% 0.068 19.7)

  • #0B2805

    #0B2805

    oklch(24.6% 0.069 140.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0B1F40

    #0B1F40

    oklch(24.4% 0.068 259.9)

  • #371025

    #371025

    oklch(24.5% 0.068 349.9)

  • #2D1D00

    #2D1D00

    oklch(24.5% 0.051 79.5)

  • #00271D

    #00271D

    oklch(24.3% 0.047 171.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #0B1F40 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.