#0B0C28

Closest named color: Dark Navy (#000435). oklch(17.4% 0.056 277.3), rgb(11, 12, 40).

Aa

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

About this color

#0B0C28 is a very dark, muted blue. In OKLCH its lightness is 17%, its chroma 0.056 and its hue 277°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Navy (#000435), ΔE 0.045 away. White text reads best on it, at 19.13:1.

Hue familyBlues
Lightnessvery dark (17%)
Chromamuted (0.056)
Temperaturecool
Nearest nameDark Navy (#000435)
Black text1.09:1
White text19.13:1

Values

HEX#0B0C28
RGBrgb(11, 12, 40)
HSLhsl(238, 57%, 10%)
OKLCHoklch(17.4% 0.056 277.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 #0B0C28 19.13:1 AAA Lc -107.4 Preferred for body text
Black text on #0B0C28 1.09:1 Fails Lc 0.0 Not readable
#0B0C28 text on white 19.13:1 AAA Lc 105.4 Preferred for body text
#0B0C28 text on black 1.09: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

    #F4F5FC

    oklch(97.1% 0.009 279.7)

  2. Step 100

    100

    #E6E9F7

    oklch(93.6% 0.019 276.3)

  3. Step 200

    200

    #D3D7F2

    oklch(88.4% 0.037 278.9)

  4. Step 300

    300

    #B5BDEC

    oklch(80.8% 0.067 277.2)

  5. Step 400

    400

    #909AE3

    oklch(70.7% 0.107 277.3)

  6. Step 500

    500

    #767FDA

    oklch(63% 0.136 277.5)

  7. Step 600

    600

    #6067C8

    oklch(55.6% 0.148 277.3)

  8. Step 700

    700

    #4F55AD

    oklch(49.1% 0.138 277.1)

  9. Step 800

    800

    #41468C

    oklch(42.7% 0.114 277.3)

  10. Step 900

    900

    #373B70

    oklch(37.7% 0.09 277.9)

  11. Step 950

    950 (this color)

    #0B0C28

    oklch(17.4% 0.056 277.3)

Export this scale for Tailwind in the Tailwind colors tool

#0B0C28 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)#0010290.022
Deuteranopia (no green cones)#000E270.022
Tritanopia (no blue cones)#0013180.050
Achromatopsia (no color)#0F0F0F0.056

Harmonies

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

Complementary

The opposite hue (180°).

  • #0B0C28

    #0B0C28

    oklch(17.4% 0.056 277.3)

  • #151000

    #151000

    oklch(17.4% 0.036 96)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0B0C28

    #0B0C28

    oklch(17.4% 0.056 277.3)

  • #001123

    #001123

    oklch(17.3% 0.046 247.6)

  • #170823

    #170823

    oklch(17.5% 0.056 307.3)

Open the analogous palette in the generator

Split complementary

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

  • #0B0C28

    #0B0C28

    oklch(17.4% 0.056 277.3)

  • #1B0C00

    #1B0C00

    oklch(17.3% 0.038 66.4)

  • #0B1400

    #0B1400

    oklch(17.6% 0.045 127.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0B0C28

    #0B0C28

    oklch(17.4% 0.056 277.3)

  • #230500

    #230500

    oklch(17.3% 0.056 38.7)

  • #001509

    #001509

    oklch(17.2% 0.04 158.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0B0C28

    #0B0C28

    oklch(17.4% 0.056 277.3)

  • #23040C

    #23040C

    oklch(17.5% 0.055 7.4)

  • #151000

    #151000

    oklch(17.4% 0.036 96)

  • #001412

    #001412

    oklch(17.2% 0.03 186.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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