#0C3551#0C3551

#0C3551 is a dark, moderate cyan. Relative luminance 0.032; OKLCH L 31.7% C 0.067 H 243.3°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#0C3551
RGBrgb(12, 53, 81)
HSLhsl(204, 74%, 18%)
HSVhsv(204, 85%, 32%)
CMYKcmyk(85.2%, 34.6%, 0%, 68.2%)
CIE-LABlab(20.90, -2.63, -21.02)
CIE-LCHlch(20.90, 21.18, 262.86°)
OKLaboklab(31.65% -0.0299 -0.0596)
OKLCHoklch(31.65% 0.067 243.3)
XYZxyz(2.9093, 3.2181, 8.2508)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3551 #51280C
analogous
#0C514A #0C3551 #0C1251
triadic
#0C3551 #510C35 #35510C
tetradic
#0C3551 #4A0C51 #51280C #12510C
square
#0C3551 #4A0C51 #51280C #12510C
split-complementary
#0C3551 #510C12 #514A0C
monochromatic
#04111B #04121C #0C3551 #145886 #1C7BBC

Accessibility & contrast

On white

12.78
#0C3551 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#0C3551 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C3551
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3551#FFFFFF#000000##FFFFFF
##0C35511.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283652
Deuteranopia (green-blind)
#1E2F50
Tritanopia (blue-blind)
#003C3F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #0c3551;
/* rgb */ color: rgb(12, 53, 81);
/* oklch */ color: oklch(31.7% 0.067 243.3);
Tailwind
colors: {
  custom: {
    50: '#576c82',
    500: '#0c3551',
    950: '#000000',
  },
}
SCSS
$custom: #0c3551;
$custom-light: #576c82;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3551",
  "rgb": {
    "r": 12,
    "g": 53,
    "b": 81
  },
  "hsl": {
    "h": 204.348,
    "s": 74.194,
    "l": 18.235
  },
  "oklch": {
    "l": 0.31652,
    "c": 0.06671,
    "h": 243.3
  },
  "luminance": 0.03218
}

Semantic roles & 50–950 ramp

primary
#0C3551
secondary
#8C532C
accent
#8237F1
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C

Preview Lab

Preview with #0C3551

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

Preview Lab → · Contrast checker → · Palette generator →

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