#0C4255#0C4255

#0C4255 is a dark, moderate cyan. Relative luminance 0.046; OKLCH L 35.5% C 0.062 H 227.0°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#0C4255
RGBrgb(12, 66, 85)
HSLhsl(196, 75%, 19%)
HSVhsv(196, 86%, 33%)
CMYKcmyk(85.9%, 22.4%, 0%, 66.7%)
CIE-LABlab(25.65, -9.49, -16.23)
CIE-LCHlch(25.65, 18.80, 239.67°)
OKLaboklab(35.51% -0.0425 -0.0456)
OKLCHoklch(35.51% 0.062 227)
XYZxyz(3.7388, 4.6300, 9.2892)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4255 #551F0C
analogous
#0C5544 #0C4255 #0C1E55
triadic
#0C4255 #550C42 #42550C
tetradic
#0C4255 #440C55 #551F0C #1E550C
square
#0C4255 #440C55 #551F0C #1E550C
split-complementary
#0C4255 #550C1E #55440C
monochromatic
#04151B #04181F #0C4255 #146C8B #1B95C0

Accessibility & contrast

On white

10.90
#0C4255 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#0C4255 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4255
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4255#FFFFFF#000000##FFFFFF
##0C42551.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384156
Deuteranopia (green-blind)
#2E3A55
Tritanopia (blue-blind)
#004748
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #0c4255;
/* rgb */ color: rgb(12, 66, 85);
/* oklch */ color: oklch(35.5% 0.062 227.0);
Tailwind
colors: {
  custom: {
    50: '#597685',
    500: '#0c4255',
    950: '#000000',
  },
}
SCSS
$custom: #0c4255;
$custom-light: #597685;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4255",
  "rgb": {
    "r": 12,
    "g": 66,
    "b": 85
  },
  "hsl": {
    "h": 195.616,
    "s": 75.258,
    "l": 19.02
  },
  "oklch": {
    "l": 0.35506,
    "c": 0.06234,
    "h": 227
  },
  "luminance": 0.0463
}

Semantic roles & 50–950 ramp

primary
#0C4255
secondary
#90472D
accent
#6736F2
background
#F5F7F8
surface
#E9EDEF
border
#C5C8CA
text
#04080B
muted
#797B7C

Preview Lab

Preview with #0C4255

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#0C4255 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva