#0F4F8B

Closest named color: Light Navy (#155084). oklch(42.3% 0.117 252), rgb(15, 79, 139).

Aa

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

About this color

#0F4F8B is a dark, moderately saturated blue. In OKLCH its lightness is 42%, its chroma 0.117 and its hue 252°. Its hue sits on the cool side of the wheel. The nearest named color is Light Navy (#155084), ΔE 0.013 away. White text reads best on it, at 8.36:1.

Hue familyBlues
Lightnessdark (42%)
Chromamoderately saturated (0.117)
Temperaturecool
Nearest nameLight Navy (#155084)
Black text2.51:1
White text8.36:1

Values

HEX#0F4F8B
RGBrgb(15, 79, 139)
HSLhsl(209, 81%, 30%)
OKLCHoklch(42.3% 0.117 252)

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 #0F4F8B 8.36:1 AAA Lc -93.0 Preferred for body text
Black text on #0F4F8B 2.51:1 Fails Lc 15.6 Dividers and decoration only
#0F4F8B text on white 8.36:1 AAA Lc 88.4 Fine for body text
#0F4F8B text on black 2.51:1 Fails Lc -13.8 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 800.

  1. Step 50

    50

    #F1F6FC

    oklch(97.1% 0.01 252.8)

  2. Step 100

    100

    #E1EBF7

    oklch(93.6% 0.019 252.9)

  3. Step 200

    200

    #C8DBF2

    oklch(88.4% 0.038 253.2)

  4. Step 300

    300

    #A1C4EC

    oklch(80.9% 0.068 252)

  5. Step 400

    400

    #6DA5E3

    oklch(70.8% 0.109 251.9)

  6. Step 500

    500

    #428CDB

    oklch(63% 0.14 252.3)

  7. Step 600

    600

    #1D75C8

    oklch(55.6% 0.151 251.9)

  8. Step 700

    700

    #0C62AD

    oklch(49.2% 0.14 251.7)

  9. Step 800

    800 (this color)

    #0F4F8B

    oklch(42.3% 0.117 252)

  10. Step 900

    900

    #174370

    oklch(37.7% 0.091 252)

  11. Step 950

    950

    #0F2742

    oklch(26.9% 0.059 253.1)

Export this scale for Tailwind in the Tailwind colors tool

#0F4F8B 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)#31548D0.032
Deuteranopia (no green cones)#1A498A0.017
Tritanopia (no blue cones)#005D660.085
Achromatopsia (no color)#4E4E4E0.117

Harmonies

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

Complementary

The opposite hue (180°).

  • #0F4F8B

    #0F4F8B

    oklch(42.3% 0.117 252)

  • #6C4400

    #6C4400

    oklch(42.3% 0.091 71.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0F4F8B

    #0F4F8B

    oklch(42.3% 0.117 252)

  • #00576C

    #00576C

    oklch(42.3% 0.078 221.5)

  • #46438B

    #46438B

    oklch(42.4% 0.116 282.1)

Open the analogous palette in the generator

Split complementary

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

  • #0F4F8B

    #0F4F8B

    oklch(42.3% 0.117 252)

  • #80330F

    #80330F

    oklch(42.4% 0.116 42.2)

  • #584F00

    #584F00

    oklch(42.3% 0.089 101.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0F4F8B

    #0F4F8B

    oklch(42.3% 0.117 252)

  • #812C3D

    #812C3D

    oklch(42.3% 0.117 11.6)

  • #355A01

    #355A01

    oklch(42.3% 0.116 131.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0F4F8B

    #0F4F8B

    oklch(42.3% 0.117 252)

  • #772F60

    #772F60

    oklch(42.4% 0.118 341.8)

  • #6C4400

    #6C4400

    oklch(42.3% 0.091 71.6)

  • #005D3E

    #005D3E

    oklch(42.3% 0.093 162.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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