#0C4776

Closest named color: Twilight Blue (#0A437A). oklch(38.9% 0.098 248.5), rgb(12, 71, 118).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (39%)
Chromamoderately saturated (0.098)
Temperaturecool
Nearest nameTwilight Blue (#0A437A)
Black text2.17:1
White text9.63:1

Values

HEX#0C4776
RGBrgb(12, 71, 118)
HSLhsl(207, 82%, 25%)
OKLCHoklch(38.9% 0.098 248.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 #0C4776 9.63:1 AAA Lc -96.2 Preferred for body text
Black text on #0C4776 2.17:1 Fails Lc 12.1 Not readable
#0C4776 text on white 9.63:1 AAA Lc 91.9 Preferred for body text
#0C4776 text on black 2.17:1 Fails Lc -10.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

    #DFEBF8

    oklch(93.5% 0.022 250.2)

  3. Step 200

    200

    #C5DCF3

    oklch(88.5% 0.04 248.3)

  4. Step 300

    300

    #9CC5EE

    oklch(80.8% 0.073 248.7)

  5. Step 400

    400

    #62A6E6

    oklch(70.7% 0.117 248.4)

  6. Step 500

    500

    #2D8EDF

    oklch(63.1% 0.15 248.5)

  7. Step 600

    600

    #0077C7

    oklch(55.7% 0.152 248.5)

  8. Step 700

    700

    #0064A8

    oklch(49.2% 0.133 248.3)

  9. Step 800

    800

    #00518B

    oklch(42.6% 0.117 248.8)

  10. Step 900

    900 (this color)

    #0C4776

    oklch(38.9% 0.098 248.5)

  11. Step 950

    950

    #092843

    oklch(27% 0.062 248.7)

Export this scale for Tailwind in the Tailwind colors tool

#0C4776 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)#304A780.033
Deuteranopia (no green cones)#2040750.023
Tritanopia (no blue cones)#0052580.070
Achromatopsia (no color)#4545450.098

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C4776

    #0C4776

    oklch(38.9% 0.098 248.5)

  • #623B00

    #623B00

    oklch(39% 0.085 68.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C4776

    #0C4776

    oklch(38.9% 0.098 248.5)

  • #004D5E

    #004D5E

    oklch(38.8% 0.07 219.1)

  • #3A3D78

    #3A3D78

    oklch(38.9% 0.099 278.6)

Open the analogous palette in the generator

Split complementary

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

  • #0C4776

    #0C4776

    oklch(38.9% 0.098 248.5)

  • #6F2E19

    #6F2E19

    oklch(38.8% 0.098 38.2)

  • #504500

    #504500

    oklch(39% 0.081 98.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C4776

    #0C4776

    oklch(38.9% 0.098 248.5)

  • #6E2A3A

    #6E2A3A

    oklch(38.8% 0.098 8.3)

  • #344E06

    #344E06

    oklch(38.8% 0.098 128.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C4776

    #0C4776

    oklch(38.9% 0.098 248.5)

  • #652D56

    #652D56

    oklch(38.9% 0.098 338.7)

  • #623B00

    #623B00

    oklch(39% 0.085 68.8)

  • #005332

    #005332

    oklch(39% 0.09 158.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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