#0C3A51#0C3A51

#0C3A51 is a dark, moderate cyan. Relative luminance 0.037; OKLCH L 33.0% C 0.063 H 235.6°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#0C3A51
RGBrgb(12, 58, 81)
HSLhsl(200, 74%, 18%)
HSVhsv(200, 85%, 32%)
CMYKcmyk(85.2%, 28.4%, 0%, 68.2%)
CIE-LABlab(22.65, -5.99, -18.27)
CIE-LCHlch(22.65, 19.23, 251.86°)
OKLaboklab(33.04% -0.0354 -0.0516)
OKLCHoklch(33.04% 0.063 235.6)
XYZxyz(3.1493, 3.6980, 8.3308)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3A51 #51230C
analogous
#0C5145 #0C3A51 #0C1751
triadic
#0C3A51 #510C3A #3A510C
tetradic
#0C3A51 #450C51 #51230C #17510C
square
#0C3A51 #450C51 #51230C #17510C
split-complementary
#0C3A51 #510C17 #51450C
monochromatic
#04131B #04141C #0C3A51 #146086 #1C86BC

Accessibility & contrast

On white

12.07
#0C3A51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#0C3A51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C3A51
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3A51#FFFFFF#000000##FFFFFF
##0C3A511.0012.071.7412.07
#FFFFFF12.071.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3A52
Deuteranopia (green-blind)
#263351
Tritanopia (blue-blind)
#004042
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #0c3a51;
/* rgb */ color: rgb(12, 58, 81);
/* oklch */ color: oklch(33.0% 0.063 235.6);
Tailwind
colors: {
  custom: {
    50: '#587082',
    500: '#0c3a51',
    950: '#000000',
  },
}
SCSS
$custom: #0c3a51;
$custom-light: #587082;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3a51",
  "rgb": {
    "r": 12,
    "g": 58,
    "b": 81
  },
  "hsl": {
    "h": 200,
    "s": 74.194,
    "l": 18.235
  },
  "oklch": {
    "l": 0.3304,
    "c": 0.06253,
    "h": 235.6
  },
  "luminance": 0.03698
}

Semantic roles & 50–950 ramp

primary
#0C3A51
secondary
#8C4C2C
accent
#7537F1
background
#F5F6F7
surface
#E9ECEE
border
#C5C7C9
text
#04070A
muted
#797A7C

Preview Lab

Preview with #0C3A51

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

Preview Lab → · Contrast checker → · Palette generator →

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