#0C374F#0C374F

#0C374F is a dark, moderate cyan. Relative luminance 0.034; OKLCH L 32.1% C 0.062 H 238.2°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#0C374F
RGBrgb(12, 55, 79)
HSLhsl(201, 74%, 18%)
HSVhsv(201, 85%, 31%)
CMYKcmyk(84.8%, 30.4%, 0%, 69%)
CIE-LABlab(21.49, -4.83, -18.76)
CIE-LCHlch(21.49, 19.37, 255.57°)
OKLaboklab(32.08% -0.0328 -0.053)
OKLCHoklch(32.08% 0.062 238.2)
XYZxyz(2.9285, 3.3747, 7.8927)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C374F #4F240C
analogous
#0C4F45 #0C374F #0C154F
triadic
#0C374F #4F0C37 #374F0C
tetradic
#0C374F #450C4F #4F240C #154F0C
square
#0C374F #450C4F #4F240C #154F0C
split-complementary
#0C374F #4F0C15 #4F450C
monochromatic
#04121B #04121B #0C374F #145C84 #1C81B9

Accessibility & contrast

On white

12.54
#0C374F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#0C374F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C374F
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C374F#FFFFFF#000000##FFFFFF
##0C374F1.0012.541.6812.54
#FFFFFF12.541.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3750
Deuteranopia (green-blind)
#23314F
Tritanopia (blue-blind)
#003D3F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #0c374f;
/* rgb */ color: rgb(12, 55, 79);
/* oklch */ color: oklch(32.1% 0.062 238.2);
Tailwind
colors: {
  custom: {
    50: '#576d80',
    500: '#0c374f',
    950: '#000000',
  },
}
SCSS
$custom: #0c374f;
$custom-light: #576d80;
$custom-dark: #000000;
JSON
{
  "hex": "#0c374f",
  "rgb": {
    "r": 12,
    "g": 55,
    "b": 79
  },
  "hsl": {
    "h": 201.493,
    "s": 73.626,
    "l": 17.843
  },
  "oklch": {
    "l": 0.32082,
    "c": 0.06237,
    "h": 238.2
  },
  "luminance": 0.03375
}

Semantic roles & 50–950 ramp

primary
#0C374F
secondary
#8B4E2C
accent
#7A38F0
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04070A
muted
#797A7C

Preview Lab

Preview with #0C374F

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

Preview Lab → · Contrast checker → · Palette generator →

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