#0F4071

Closest named color: Twilight Blue (#0A437A). oklch(36.8% 0.098 252.5), rgb(15, 64, 113).

Aa

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

About this color

#0F4071 is a dark, moderately saturated blue. In OKLCH its lightness is 37%, its chroma 0.098 and its hue 252°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight Blue (#0A437A), ΔE 0.016 away. White text reads best on it, at 10.54:1.

Hue familyBlues
Lightnessdark (37%)
Chromamoderately saturated (0.098)
Temperaturecool
Nearest nameTwilight Blue (#0A437A)
Black text1.99:1
White text10.54:1

Values

HEX#0F4071
RGBrgb(15, 64, 113)
HSLhsl(210, 77%, 25%)
OKLCHoklch(36.8% 0.098 252.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 #0F4071 10.54:1 AAA Lc -98.1 Preferred for body text
Black text on #0F4071 1.99:1 Fails Lc 9.9 Not readable
#0F4071 text on white 10.54:1 AAA Lc 94.1 Preferred for body text
#0F4071 text on black 1.99:1 Fails Lc -8.5 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 900.

  1. Step 50

    50

    #F1F6FC

    oklch(97.1% 0.01 252.8)

  2. Step 100

    100

    #E0EBF8

    oklch(93.6% 0.021 252.5)

  3. Step 200

    200

    #C6DBF4

    oklch(88.4% 0.041 252.8)

  4. Step 300

    300

    #9FC4F0

    oklch(80.9% 0.074 253.1)

  5. Step 400

    400

    #68A4E8

    oklch(70.6% 0.118 252.6)

  6. Step 500

    500

    #3B8CE1

    oklch(63.1% 0.15 252.3)

  7. Step 600

    600

    #0D74CF

    oklch(55.6% 0.163 252.4)

  8. Step 700

    700

    #0061B2

    oklch(49.2% 0.149 252.5)

  9. Step 800

    800

    #054F91

    oklch(42.6% 0.126 252.6)

  10. Step 900

    900 (this color)

    #0F4071

    oklch(36.8% 0.098 252.5)

  11. Step 950

    950

    #0D2744

    oklch(27% 0.063 253.3)

Export this scale for Tailwind in the Tailwind colors tool

#0F4071 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)#2844730.027
Deuteranopia (no green cones)#163B700.015
Tritanopia (no blue cones)#004C530.073
Achromatopsia (no color)#3F3F3F0.098

Harmonies

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

Complementary

The opposite hue (180°).

  • #0F4071

    #0F4071

    oklch(36.8% 0.098 252.5)

  • #583700

    #583700

    oklch(36.7% 0.079 72.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0F4071

    #0F4071

    oklch(36.8% 0.098 252.5)

  • #004759

    #004759

    oklch(36.9% 0.068 221.9)

  • #393671

    #393671

    oklch(36.8% 0.099 282.7)

Open the analogous palette in the generator

Split complementary

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

  • #0F4071

    #0F4071

    oklch(36.8% 0.098 252.5)

  • #68290C

    #68290C

    oklch(36.7% 0.099 42.2)

  • #474000

    #474000

    oklch(36.7% 0.077 102.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0F4071

    #0F4071

    oklch(36.8% 0.098 252.5)

  • #692431

    #692431

    oklch(36.8% 0.099 12)

  • #2A4906

    #2A4906

    oklch(36.7% 0.098 132.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0F4071

    #0F4071

    oklch(36.8% 0.098 252.5)

  • #61274D

    #61274D

    oklch(36.9% 0.098 342.9)

  • #583700

    #583700

    oklch(36.7% 0.079 72.2)

  • #004C32

    #004C32

    oklch(36.8% 0.081 162.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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