#0C3D51#0C3D51

#0C3D51 is a dark, moderate cyan. Relative luminance 0.040; OKLCH L 33.9% C 0.061 H 230.4°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#0C3D51
RGBrgb(12, 61, 81)
HSLhsl(197, 74%, 18%)
HSVhsv(197, 85%, 32%)
CMYKcmyk(85.2%, 24.7%, 0%, 68.2%)
CIE-LABlab(23.70, -7.93, -16.63)
CIE-LCHlch(23.70, 18.42, 244.50°)
OKLaboklab(33.88% -0.0387 -0.0468)
OKLCHoklch(33.88% 0.061 230.4)
XYZxyz(3.3050, 4.0093, 8.3827)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3D51 #51200C
analogous
#0C5142 #0C3D51 #0C1A51
triadic
#0C3D51 #510C3D #3D510C
tetradic
#0C3D51 #420C51 #51200C #1A510C
square
#0C3D51 #420C51 #51200C #1A510C
split-complementary
#0C3D51 #510C1A #51420C
monochromatic
#04141B #04151C #0C3D51 #146586 #1C8DBC

Accessibility & contrast

On white

11.65
#0C3D51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#0C3D51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C3D51
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3D51#FFFFFF#000000##FFFFFF
##0C3D511.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333C52
Deuteranopia (green-blind)
#2A3651
Tritanopia (blue-blind)
#004244
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #0c3d51;
/* rgb */ color: rgb(12, 61, 81);
/* oklch */ color: oklch(33.9% 0.061 230.4);
Tailwind
colors: {
  custom: {
    50: '#587282',
    500: '#0c3d51',
    950: '#000000',
  },
}
SCSS
$custom: #0c3d51;
$custom-light: #587282;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3d51",
  "rgb": {
    "r": 12,
    "g": 61,
    "b": 81
  },
  "hsl": {
    "h": 197.391,
    "s": 74.194,
    "l": 18.235
  },
  "oklch": {
    "l": 0.33881,
    "c": 0.06071,
    "h": 230.4
  },
  "luminance": 0.0401
}

Semantic roles & 50–950 ramp

primary
#0C3D51
secondary
#8C482C
accent
#6D37F1
background
#F5F6F7
surface
#E9ECEE
border
#C5C7C9
text
#04080A
muted
#797B7C

Preview Lab

Preview with #0C3D51

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

Preview Lab → · Contrast checker → · Palette generator →

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