#0C3C51#0C3C51

#0C3C51 is a dark, moderate cyan. Relative luminance 0.039; OKLCH L 33.6% C 0.061 H 232.2°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#0C3C51
RGBrgb(12, 60, 81)
HSLhsl(198, 74%, 18%)
HSVhsv(198, 85%, 32%)
CMYKcmyk(85.2%, 25.9%, 0%, 68.2%)
CIE-LABlab(23.35, -7.29, -17.18)
CIE-LCHlch(23.35, 18.66, 247.00°)
OKLaboklab(33.6% -0.0376 -0.0484)
OKLCHoklch(33.6% 0.061 232.2)
XYZxyz(3.2521, 3.9036, 8.3651)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3C51 #51210C
analogous
#0C5143 #0C3C51 #0C1951
triadic
#0C3C51 #510C3C #3C510C
tetradic
#0C3C51 #430C51 #51210C #19510C
square
#0C3C51 #430C51 #51210C #19510C
split-complementary
#0C3C51 #510C19 #51430C
monochromatic
#04141B #04151C #0C3C51 #146386 #1C8BBC

Accessibility & contrast

On white

11.79
#0C3C51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#0C3C51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C3C51
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3C51#FFFFFF#000000##FFFFFF
##0C3C511.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313B52
Deuteranopia (green-blind)
#283551
Tritanopia (blue-blind)
#004243
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #0c3c51;
/* rgb */ color: rgb(12, 60, 81);
/* oklch */ color: oklch(33.6% 0.061 232.2);
Tailwind
colors: {
  custom: {
    50: '#587182',
    500: '#0c3c51',
    950: '#000000',
  },
}
SCSS
$custom: #0c3c51;
$custom-light: #587182;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3c51",
  "rgb": {
    "r": 12,
    "g": 60,
    "b": 81
  },
  "hsl": {
    "h": 198.261,
    "s": 74.194,
    "l": 18.235
  },
  "oklch": {
    "l": 0.336,
    "c": 0.06126,
    "h": 232.2
  },
  "luminance": 0.03904
}

Semantic roles & 50–950 ramp

primary
#0C3C51
secondary
#8C4A2C
accent
#7037F1
background
#F5F6F7
surface
#E9ECEE
border
#C5C7C9
text
#04070A
muted
#797A7C

Preview Lab

Preview with #0C3C51

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

Preview Lab → · Contrast checker → · Palette generator →

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