#0C6FA5

Closest named color: Ocean Blue (#03719C). oklch(51.8% 0.117 241.2), rgb(12, 111, 165).

Aa

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

About this color

#0C6FA5 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 52%, its chroma 0.117 and its hue 241°. Its hue sits on the cool side of the wheel. The nearest named color is Ocean Blue (#03719C), ΔE 0.017 away. White text reads best on it, at 5.47:1.

Hue familyBlues
Lightnessmedium-dark (52%)
Chromamoderately saturated (0.117)
Temperaturecool
Nearest nameOcean Blue (#03719C)
Black text3.83:1
White text5.47:1

Values

HEX#0C6FA5
RGBrgb(12, 111, 165)
HSLhsl(201, 86%, 35%)
OKLCHoklch(51.8% 0.117 241.2)

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 #0C6FA5 5.47:1 AA Lc -82.2 Fine for body text
Black text on #0C6FA5 3.83:1 AA large text Lc 27.2 Dividers and decoration only
#0C6FA5 text on white 5.47:1 AA Lc 76.8 Fine for body text
#0C6FA5 text on black 3.83:1 AA large text Lc -24.9 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

    #E1ECF4

    oklch(93.7% 0.016 239.1)

  3. Step 200

    200

    #C8DCEC

    oklch(88.4% 0.031 242)

  4. Step 300

    300

    #A1C6E2

    oklch(80.9% 0.056 241)

  5. Step 400

    400

    #6BA8D4

    oklch(70.7% 0.09 241)

  6. Step 500

    500

    #3D91C9

    oklch(63% 0.117 241.4)

  7. Step 600

    600

    #0E7BB6

    oklch(55.7% 0.126 241)

  8. Step 700

    700 (this color)

    #0C6FA5

    oklch(51.8% 0.117 241.2)

  9. Step 800

    800

    #06547F

    oklch(42.7% 0.098 241.5)

  10. Step 900

    900

    #134666

    oklch(37.7% 0.076 241)

  11. Step 950

    950

    #0D293C

    oklch(27% 0.049 241.5)

Export this scale for Tailwind in the Tailwind colors tool

#0C6FA5 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)#5570A70.057
Deuteranopia (no green cones)#4163A40.044
Tritanopia (no blue cones)#007C820.078
Achromatopsia (no color)#6969690.117

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C6FA5

    #0C6FA5

    oklch(51.8% 0.117 241.2)

  • #975607

    #975607

    oklch(51.8% 0.117 61.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C6FA5

    #0C6FA5

    oklch(51.8% 0.117 241.2)

  • #007686

    #007686

    oklch(51.9% 0.09 211.1)

  • #5062AB

    #5062AB

    oklch(51.7% 0.117 271.3)

Open the analogous palette in the generator

Split complementary

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

  • #0C6FA5

    #0C6FA5

    oklch(51.8% 0.117 241.2)

  • #A14B3C

    #A14B3C

    oklch(51.9% 0.118 31.5)

  • #7F6500

    #7F6500

    oklch(51.8% 0.106 91)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C6FA5

    #0C6FA5

    oklch(51.8% 0.117 241.2)

  • #9D4864

    #9D4864

    oklch(51.8% 0.117 1.2)

  • #5F7212

    #5F7212

    oklch(51.9% 0.117 120.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C6FA5

    #0C6FA5

    oklch(51.8% 0.117 241.2)

  • #8E4D87

    #8E4D87

    oklch(51.9% 0.117 331.2)

  • #975607

    #975607

    oklch(51.8% 0.117 61.7)

  • #277B44

    #277B44

    oklch(51.9% 0.117 151.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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