#0F4CAC

Closest named color: Sapphire (#2138AB). oklch(44.2% 0.165 260), rgb(15, 76, 172).

Aa

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

About this color

#0F4CAC is a dark, vivid blue. In OKLCH its lightness is 44%, its chroma 0.165 and its hue 260°. Its hue sits on the cool side of the wheel. The nearest named color is Sapphire (#2138AB), ΔE 0.046 away. White text reads best on it, at 7.92:1.

Hue familyBlues
Lightnessdark (44%)
Chromavivid (0.165)
Temperaturecool
Nearest nameSapphire (#2138AB)
Black text2.64:1
White text7.92:1

Values

HEX#0F4CAC
RGBrgb(15, 76, 172)
HSLhsl(217, 84%, 37%)
OKLCHoklch(44.2% 0.165 260)

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 #0F4CAC 7.92:1 AAA Lc -91.5 Preferred for body text
Black text on #0F4CAC 2.64:1 Fails Lc 17.2 Dividers and decoration only
#0F4CAC text on white 7.92:1 AAA Lc 86.8 Fine for body text
#0F4CAC text on black 2.64:1 Fails Lc -15.3 Dividers and decoration only

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

    #F0F6FE

    oklch(97.1% 0.012 255.5)

  2. Step 100

    100

    #DFEBFD

    oklch(93.6% 0.028 258.4)

  3. Step 200

    200

    #C5DAFD

    oklch(88.4% 0.054 260.6)

  4. Step 300

    300

    #9CC2FF

    oklch(80.9% 0.096 259.7)

  5. Step 400

    400

    #669FFF

    oklch(70.7% 0.154 260.3)

  6. Step 500

    500

    #3983FE

    oklch(63% 0.198 260.1)

  7. Step 600

    600

    #1269ED

    oklch(55.6% 0.214 260)

  8. Step 700

    700

    #0256CF

    oklch(49.1% 0.2 260.1)

  9. Step 800

    800 (this color)

    #0F4CAC

    oklch(44.2% 0.165 260)

  10. Step 900

    900

    #123D84

    oklch(37.6% 0.129 260.1)

  11. Step 950

    950

    #0C254D

    oklch(27.1% 0.08 259.5)

Export this scale for Tailwind in the Tailwind colors tool

#0F4CAC 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)#0058AF0.031
Deuteranopia (no green cones)#004BAA0.007
Tritanopia (no blue cones)#0064740.126
Achromatopsia (no color)#5151510.165

Harmonies

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

Complementary

The opposite hue (180°).

  • #0F4CAC

    #0F4CAC

    oklch(44.2% 0.165 260)

  • #6D4C00

    #6D4C00

    oklch(44.1% 0.091 79.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0F4CAC

    #0F4CAC

    oklch(44.2% 0.165 260)

  • #005B7A

    #005B7A

    oklch(44.1% 0.088 230.2)

  • #5639A6

    #5639A6

    oklch(44.2% 0.166 290.1)

Open the analogous palette in the generator

Split complementary

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

  • #0F4CAC

    #0F4CAC

    oklch(44.2% 0.165 260)

  • #843B00

    #843B00

    oklch(44.2% 0.117 50)

  • #575700

    #575700

    oklch(44.2% 0.096 109.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0F4CAC

    #0F4CAC

    oklch(44.2% 0.165 260)

  • #9A142A

    #9A142A

    oklch(44.3% 0.165 20)

  • #1A6400

    #1A6400

    oklch(44.1% 0.142 140.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0F4CAC

    #0F4CAC

    oklch(44.2% 0.165 260)

  • #901960

    #901960

    oklch(44.3% 0.166 350)

  • #6D4C00

    #6D4C00

    oklch(44.1% 0.091 79.9)

  • #00624C

    #00624C

    oklch(44.1% 0.087 170.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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