#0C6795

Closest named color: Peacock Blue (#016795). oklch(48.9% 0.106 238.8), rgb(12, 103, 149).

Aa

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

About this color

#0C6795 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 49%, its chroma 0.106 and its hue 239°. Its hue sits on the cool side of the wheel. The nearest named color is Peacock Blue (#016795), ΔE 0.003 away. White text reads best on it, at 6.19:1.

Hue familyBlues
Lightnessmedium-dark (49%)
Chromamoderately saturated (0.106)
Temperaturecool
Nearest namePeacock Blue (#016795)
Black text3.38:1
White text6.19:1

Values

HEX#0C6795
RGBrgb(12, 103, 149)
HSLhsl(200, 85%, 32%)
OKLCHoklch(48.9% 0.106 238.8)

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 #0C6795 6.19:1 AA Lc -85.6 Fine for body text
Black text on #0C6795 3.38:1 AA large text Lc 23.7 Dividers and decoration only
#0C6795 text on white 6.19:1 AA Lc 80.4 Fine for body text
#0C6795 text on black 3.38:1 AA large text Lc -21.4 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 700.

  1. Step 50

    50

    #F1F6FA

    oklch(97.1% 0.008 241.7)

  2. Step 100

    100

    #E1EBF3

    oklch(93.5% 0.015 241.8)

  3. Step 200

    200

    #C9DCEA

    oklch(88.5% 0.028 239.7)

  4. Step 300

    300

    #A3C6DF

    oklch(80.9% 0.052 239.4)

  5. Step 400

    400

    #6FA8CE

    oklch(70.7% 0.082 238.7)

  6. Step 500

    500

    #4592C2

    oklch(63.2% 0.105 238.9)

  7. Step 600

    600

    #1F7BAE

    oklch(55.6% 0.114 239)

  8. Step 700

    700 (this color)

    #0C6795

    oklch(48.9% 0.106 238.8)

  9. Step 800

    800

    #125579

    oklch(42.8% 0.087 238.2)

  10. Step 900

    900

    #184662

    oklch(37.7% 0.069 239.2)

  11. Step 950

    950

    #102939

    oklch(26.9% 0.043 239.2)

Export this scale for Tailwind in the Tailwind colors tool

#0C6795 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)#5167970.056
Deuteranopia (no green cones)#3F5C940.044
Tritanopia (no blue cones)#0073770.070
Achromatopsia (no color)#6161610.106

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C6795

    #0C6795

    oklch(48.9% 0.106 238.8)

  • #8B4F15

    #8B4F15

    oklch(48.9% 0.105 59)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C6795

    #0C6795

    oklch(48.9% 0.106 238.8)

  • #006D7A

    #006D7A

    oklch(49% 0.084 209.1)

  • #475C9C

    #475C9C

    oklch(48.9% 0.106 268.6)

Open the analogous palette in the generator

Split complementary

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

  • #0C6795

    #0C6795

    oklch(48.9% 0.106 238.8)

  • #93463C

    #93463C

    oklch(49% 0.106 29.1)

  • #775C00

    #775C00

    oklch(48.9% 0.1 88.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C6795

    #0C6795

    oklch(48.9% 0.106 238.8)

  • #8F445F

    #8F445F

    oklch(49% 0.106 359)

  • #5A6813

    #5A6813

    oklch(48.9% 0.106 119)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C6795

    #0C6795

    oklch(48.9% 0.106 238.8)

  • #80487D

    #80487D

    oklch(48.8% 0.106 329)

  • #8B4F15

    #8B4F15

    oklch(48.9% 0.105 59)

  • #2D703D

    #2D703D

    oklch(48.8% 0.105 148.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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