#0C477F

Closest named color: Twilight Blue (#0A437A). oklch(39.5% 0.11 252.3), rgb(12, 71, 127).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (39%)
Chromamoderately saturated (0.110)
Temperaturecool
Nearest nameTwilight Blue (#0A437A)
Black text2.22:1
White text9.44:1

Values

HEX#0C477F
RGBrgb(12, 71, 127)
HSLhsl(209, 83%, 27%)
OKLCHoklch(39.5% 0.11 252.3)

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 #0C477F 9.44:1 AAA Lc -95.7 Preferred for body text
Black text on #0C477F 2.22:1 Fails Lc 12.6 Not readable
#0C477F text on white 9.44:1 AAA Lc 91.4 Preferred for body text
#0C477F text on black 2.22:1 Fails Lc -11.0 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

    #F0F6FD

    oklch(97.1% 0.011 252.1)

  2. Step 100

    100

    #DFEBFA

    oklch(93.6% 0.024 254)

  3. Step 200

    200

    #C4DCF7

    oklch(88.5% 0.045 251.4)

  4. Step 300

    300

    #9AC4F5

    oklch(80.8% 0.083 252.7)

  5. Step 400

    400

    #60A4F0

    oklch(70.6% 0.132 252.5)

  6. Step 500

    500

    #2A8BEB

    oklch(63.1% 0.169 252.3)

  7. Step 600

    600

    #0074D1

    oklch(55.7% 0.167 252.1)

  8. Step 700

    700

    #0061B1

    oklch(49.1% 0.148 252.3)

  9. Step 800

    800

    #004F92

    oklch(42.6% 0.129 252.3)

  10. Step 900

    900 (this color)

    #0C477F

    oklch(39.5% 0.11 252.3)

  11. Step 950

    950

    #082747

    oklch(27% 0.069 252.5)

Export this scale for Tailwind in the Tailwind colors tool

#0C477F 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)#2A4B810.028
Deuteranopia (no green cones)#14417E0.017
Tritanopia (no blue cones)#00545C0.081
Achromatopsia (no color)#4646460.110

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C477F

    #0C477F

    oklch(39.5% 0.11 252.3)

  • #623E00

    #623E00

    oklch(39.6% 0.085 72.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C477F

    #0C477F

    oklch(39.5% 0.11 252.3)

  • #004F62

    #004F62

    oklch(39.6% 0.073 221.1)

  • #3F3C7F

    #3F3C7F

    oklch(39.6% 0.11 282.2)

Open the analogous palette in the generator

Split complementary

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

  • #0C477F

    #0C477F

    oklch(39.5% 0.11 252.3)

  • #752D0A

    #752D0A

    oklch(39.6% 0.11 42.3)

  • #4F4700

    #4F4700

    oklch(39.4% 0.082 102.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C477F

    #0C477F

    oklch(39.5% 0.11 252.3)

  • #752736

    #752736

    oklch(39.4% 0.11 12.1)

  • #2E5200

    #2E5200

    oklch(39.6% 0.111 132.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C477F

    #0C477F

    oklch(39.5% 0.11 252.3)

  • #6C2A56

    #6C2A56

    oklch(39.5% 0.109 342.5)

  • #623E00

    #623E00

    oklch(39.6% 0.085 72.5)

  • #005438

    #005438

    oklch(39.4% 0.086 162.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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