#0C4AA6

Closest named color: Cobalt (#1E488F). oklch(43.2% 0.16 259.5), rgb(12, 74, 166).

Aa

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

About this color

#0C4AA6 is a dark, vivid blue. In OKLCH its lightness is 43%, its chroma 0.160 and its hue 260°. Its hue sits on the cool side of the wheel. The nearest named color is Cobalt (#1E488F), ΔE 0.038 away. White text reads best on it, at 8.24:1.

Hue familyBlues
Lightnessdark (43%)
Chromavivid (0.160)
Temperaturecool
Nearest nameCobalt (#1E488F)
Black text2.54:1
White text8.24:1

Values

HEX#0C4AA6
RGBrgb(12, 74, 166)
HSLhsl(216, 87%, 35%)
OKLCHoklch(43.2% 0.16 259.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 #0C4AA6 8.24:1 AAA Lc -92.5 Preferred for body text
Black text on #0C4AA6 2.54:1 Fails Lc 16.2 Dividers and decoration only
#0C4AA6 text on white 8.24:1 AAA Lc 87.8 Fine for body text
#0C4AA6 text on black 2.54:1 Fails Lc -14.3 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

    #F1F6FE

    oklch(97.2% 0.012 259.8)

  2. Step 100

    100

    #DFEBFD

    oklch(93.6% 0.028 258.4)

  3. Step 200

    200

    #C5DBFC

    oklch(88.6% 0.051 258.4)

  4. Step 300

    300

    #9DC2FD

    oklch(80.9% 0.093 259.6)

  5. Step 400

    400

    #66A0FD

    oklch(70.7% 0.15 259.4)

  6. Step 500

    500

    #3A84FB

    oklch(63% 0.192 259.6)

  7. Step 600

    600

    #146AEA

    oklch(55.6% 0.209 259.7)

  8. Step 700

    700

    #0358CB

    oklch(49.2% 0.192 259.4)

  9. Step 800

    800 (this color)

    #0C4AA6

    oklch(43.2% 0.16 259.5)

  10. Step 900

    900

    #123E82

    oklch(37.7% 0.124 259.3)

  11. Step 950

    950

    #0C254C

    oklch(27% 0.079 259.2)

Export this scale for Tailwind in the Tailwind colors tool

#0C4AA6 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)#0056A90.032
Deuteranopia (no green cones)#0048A40.008
Tritanopia (no blue cones)#0061700.122
Achromatopsia (no color)#4F4F4F0.160

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C4AA6

    #0C4AA6

    oklch(43.2% 0.16 259.5)

  • #6A4A00

    #6A4A00

    oklch(43.3% 0.09 80.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C4AA6

    #0C4AA6

    oklch(43.2% 0.16 259.5)

  • #005876

    #005876

    oklch(43.1% 0.086 230.1)

  • #5238A0

    #5238A0

    oklch(43.1% 0.16 289.5)

Open the analogous palette in the generator

Split complementary

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

  • #0C4AA6

    #0C4AA6

    oklch(43.2% 0.16 259.5)

  • #803900

    #803900

    oklch(43.2% 0.114 50)

  • #545400

    #545400

    oklch(43.2% 0.094 109.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C4AA6

    #0C4AA6

    oklch(43.2% 0.16 259.5)

  • #94142A

    #94142A

    oklch(43.1% 0.16 19.3)

  • #1C6100

    #1C6100

    oklch(43.2% 0.138 139.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C4AA6

    #0C4AA6

    oklch(43.2% 0.16 259.5)

  • #8A195D

    #8A195D

    oklch(43.1% 0.16 349.5)

  • #6A4A00

    #6A4A00

    oklch(43.3% 0.09 80.2)

  • #005F49

    #005F49

    oklch(43.2% 0.085 170)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #0C4AA6.

Similar named colors

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

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