#0F1A38

Closest named color: Rich Black (#0D1B2A). oklch(22.7% 0.06 266.5), rgb(15, 26, 56).

Aa

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

About this color

#0F1A38 is a very dark, muted blue. In OKLCH its lightness is 23%, its chroma 0.060 and its hue 267°. Its hue sits on the cool side of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.029 away. White text reads best on it, at 17.14:1.

Hue familyBlues
Lightnessvery dark (23%)
Chromamuted (0.060)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.22:1
White text17.14:1

Values

HEX#0F1A38
RGBrgb(15, 26, 56)
HSLhsl(224, 58%, 14%)
OKLCHoklch(22.7% 0.06 266.5)

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 #0F1A38 17.14:1 AAA Lc -106.3 Preferred for body text
Black text on #0F1A38 1.22:1 Fails Lc 0.0 Not readable
#0F1A38 text on white 17.14:1 AAA Lc 103.9 Preferred for body text
#0F1A38 text on black 1.22: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

    #F2F5FC

    oklch(97% 0.01 267.4)

  2. Step 100

    100

    #E3EAF8

    oklch(93.6% 0.02 264.5)

  3. Step 200

    200

    #CDD9F4

    oklch(88.5% 0.039 266.5)

  4. Step 300

    300

    #ABC0F0

    oklch(80.9% 0.072 266.3)

  5. Step 400

    400

    #809EE8

    oklch(70.7% 0.114 266.7)

  6. Step 500

    500

    #6184E1

    oklch(63.1% 0.146 266.7)

  7. Step 600

    600

    #486CCF

    oklch(55.6% 0.158 266.3)

  8. Step 700

    700

    #3A59B3

    oklch(49% 0.147 266.6)

  9. Step 800

    800

    #304991

    oklch(42.6% 0.123 266.8)

  10. Step 900

    900

    #2A3E74

    oklch(37.7% 0.096 266.6)

  11. Step 950

    950 (this color)

    #0F1A38

    oklch(22.7% 0.06 266.5)

Export this scale for Tailwind in the Tailwind colors tool

#0F1A38 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)#0B1D390.010
Deuteranopia (no green cones)#051A370.013
Tritanopia (no blue cones)#0021260.051
Achromatopsia (no color)#1B1B1B0.060

Harmonies

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

Complementary

The opposite hue (180°).

  • #0F1A38

    #0F1A38

    oklch(22.7% 0.06 266.5)

  • #261A00

    #261A00

    oklch(22.7% 0.046 85)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0F1A38

    #0F1A38

    oklch(22.7% 0.06 266.5)

  • #001F30

    #001F30

    oklch(22.7% 0.049 236.7)

  • #1F1535

    #1F1535

    oklch(22.7% 0.061 295.6)

Open the analogous palette in the generator

Split complementary

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

  • #0F1A38

    #0F1A38

    oklch(22.7% 0.06 266.5)

  • #2F1400

    #2F1400

    oklch(22.7% 0.055 56.4)

  • #1B1F00

    #1B1F00

    oklch(22.7% 0.052 116.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0F1A38

    #0F1A38

    oklch(22.7% 0.06 266.5)

  • #330E0C

    #330E0C

    oklch(22.6% 0.06 26.2)

  • #042309

    #042309

    oklch(22.6% 0.06 146.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0F1A38

    #0F1A38

    oklch(22.7% 0.06 266.5)

  • #310E1D

    #310E1D

    oklch(22.7% 0.06 356.2)

  • #261A00

    #261A00

    oklch(22.7% 0.046 85)

  • #00221B

    #00221B

    oklch(22.5% 0.042 176.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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