#0C506D

Closest named color: Deep Sea Blue (#015482). oklch(40.7% 0.079 233), rgb(12, 80, 109).

Aa

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

About this color

#0C506D is a dark, moderately saturated blue. In OKLCH its lightness is 41%, its chroma 0.079 and its hue 233°. Its hue sits on the cool side of the wheel. The nearest named color is Deep Sea Blue (#015482), ΔE 0.035 away. White text reads best on it, at 8.80:1.

Hue familyBlues
Lightnessdark (41%)
Chromamoderately saturated (0.079)
Temperaturecool
Nearest nameDeep Sea Blue (#015482)
Black text2.38:1
White text8.80:1

Values

HEX#0C506D
RGBrgb(12, 80, 109)
HSLhsl(198, 80%, 24%)
OKLCHoklch(40.7% 0.079 233)

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 #0C506D 8.80:1 AAA Lc -94.2 Preferred for body text
Black text on #0C506D 2.38:1 Fails Lc 14.2 Not readable
#0C506D text on white 8.80:1 AAA Lc 89.8 Fine for body text
#0C506D text on black 2.38:1 Fails Lc -12.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 800.

  1. Step 50

    50

    #F2F6F9

    oklch(97.1% 0.006 239.8)

  2. Step 100

    100

    #E2ECF1

    oklch(93.7% 0.013 228.9)

  3. Step 200

    200

    #C9DCE8

    oklch(88.4% 0.026 235.4)

  4. Step 300

    300

    #A4C6DA

    oklch(80.8% 0.046 233.9)

  5. Step 400

    400

    #71A9C7

    oklch(70.7% 0.073 232.6)

  6. Step 500

    500

    #4793B9

    oklch(63.1% 0.094 232.7)

  7. Step 600

    600

    #237DA5

    oklch(55.7% 0.102 232.6)

  8. Step 700

    700

    #13698E

    oklch(49.1% 0.095 233.2)

  9. Step 800

    800 (this color)

    #0C506D

    oklch(40.7% 0.079 233)

  10. Step 900

    900

    #1A475D

    oklch(37.7% 0.061 233)

  11. Step 950

    950

    #112A36

    oklch(27.1% 0.038 231.3)

Export this scale for Tailwind in the Tailwind colors tool

#0C506D 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)#424F6E0.051
Deuteranopia (no green cones)#35476D0.041
Tritanopia (no blue cones)#00585A0.048
Achromatopsia (no color)#4A4A4A0.079

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C506D

    #0C506D

    oklch(40.7% 0.079 233)

  • #6A3C1C

    #6A3C1C

    oklch(40.6% 0.079 53.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C506D

    #0C506D

    oklch(40.7% 0.079 233)

  • #00545A

    #00545A

    oklch(40.6% 0.069 203.2)

  • #324874

    #324874

    oklch(40.5% 0.079 263.1)

Open the analogous palette in the generator

Split complementary

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

  • #0C506D

    #0C506D

    oklch(40.7% 0.079 233)

  • #6E3735

    #6E3735

    oklch(40.7% 0.078 23.3)

  • #5E4509

    #5E4509

    oklch(40.7% 0.079 83.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C506D

    #0C506D

    oklch(40.7% 0.079 233)

  • #6A364D

    #6A364D

    oklch(40.7% 0.079 353.3)

  • #4A4E13

    #4A4E13

    oklch(40.8% 0.079 113.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C506D

    #0C506D

    oklch(40.7% 0.079 233)

  • #5E3A62

    #5E3A62

    oklch(40.7% 0.079 323.3)

  • #6A3C1C

    #6A3C1C

    oklch(40.6% 0.079 53.2)

  • #2E542C

    #2E542C

    oklch(40.6% 0.078 142.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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