#0C4A7B

Closest named color: Twilight Blue (#0A437A). oklch(40% 0.101 248.5), rgb(12, 74, 123).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (40%)
Chromamoderately saturated (0.101)
Temperaturecool
Nearest nameTwilight Blue (#0A437A)
Black text2.28:1
White text9.20:1

Values

HEX#0C4A7B
RGBrgb(12, 74, 123)
HSLhsl(206, 82%, 26%)
OKLCHoklch(40% 0.101 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 #0C4A7B 9.20:1 AAA Lc -95.2 Preferred for body text
Black text on #0C4A7B 2.28:1 Fails Lc 13.2 Not readable
#0C4A7B text on white 9.20:1 AAA Lc 90.8 Preferred for body text
#0C4A7B text on black 2.28:1 Fails Lc -11.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

    #F0F6FC

    oklch(97% 0.01 247.9)

  2. Step 100

    100

    #DFECF8

    oklch(93.7% 0.021 245.9)

  3. Step 200

    200

    #C4DCF4

    oklch(88.4% 0.042 248.3)

  4. Step 300

    300

    #9AC5F0

    oklch(80.8% 0.076 248.8)

  5. Step 400

    400

    #5FA6E9

    oklch(70.7% 0.122 248.6)

  6. Step 500

    500

    #278EE2

    oklch(63.1% 0.155 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)

    #0C4A7B

    oklch(40% 0.101 248.5)

  11. Step 950

    950

    #072844

    oklch(27% 0.064 248.5)

Export this scale for Tailwind in the Tailwind colors tool

#0C4A7B 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)#324D7D0.034
Deuteranopia (no green cones)#21437A0.023
Tritanopia (no blue cones)#00565C0.073
Achromatopsia (no color)#4848480.101

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C4A7B

    #0C4A7B

    oklch(40% 0.101 248.5)

  • #663D00

    #663D00

    oklch(40% 0.088 68.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C4A7B

    #0C4A7B

    oklch(40% 0.101 248.5)

  • #005062

    #005062

    oklch(39.9% 0.072 219.7)

  • #3C407D

    #3C407D

    oklch(40% 0.101 277.9)

Open the analogous palette in the generator

Split complementary

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

  • #0C4A7B

    #0C4A7B

    oklch(40% 0.101 248.5)

  • #74301A

    #74301A

    oklch(40% 0.102 38.2)

  • #534800

    #534800

    oklch(40.1% 0.083 99.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C4A7B

    #0C4A7B

    oklch(40% 0.101 248.5)

  • #732C3C

    #732C3C

    oklch(39.9% 0.101 9)

  • #375106

    #375106

    oklch(39.9% 0.101 128.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C4A7B

    #0C4A7B

    oklch(40% 0.101 248.5)

  • #692F5A

    #692F5A

    oklch(40% 0.101 338.2)

  • #663D00

    #663D00

    oklch(40% 0.088 68.1)

  • #005634

    #005634

    oklch(39.9% 0.093 158.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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