#0C374B#0C374B

#0C374B is a dark, muted cyan. Relative luminance 0.033; OKLCH L 31.8% C 0.058 H 233.3°. Best body text is #FFFFFF at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#0C374B
RGBrgb(12, 55, 75)
HSLhsl(199, 72%, 17%)
HSVhsv(199, 84%, 29%)
CMYKcmyk(84%, 26.7%, 0%, 70.6%)
CIE-LABlab(21.28, -6.48, -16.42)
CIE-LCHlch(21.28, 17.65, 248.45°)
OKLaboklab(31.85% -0.0344 -0.0462)
OKLCHoklch(31.85% 0.058 233.3)
XYZxyz(2.7873, 3.3182, 7.1488)
Luminance0.0332 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C374B #4B200C
analogous
#0C4B40 #0C374B #0C174B
triadic
#0C374B #4B0C37 #374B0C
tetradic
#0C374B #400C4B #4B200C #174B0C
square
#0C374B #400C4B #4B200C #174B0C
split-complementary
#0C374B #4B0C17 #4B400C
monochromatic
#04131A #04131A #0C374B #145E80 #1D84B5

Accessibility & contrast

On white

12.62
#0C374B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#0C374B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C374B
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C374B#FFFFFF#000000##FFFFFF
##0C374B1.0012.621.6612.62
#FFFFFF12.621.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D364C
Deuteranopia (green-blind)
#25304B
Tritanopia (blue-blind)
#003C3E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #0c374b;
/* rgb */ color: rgb(12, 55, 75);
/* oklch */ color: oklch(31.8% 0.058 233.3);
Tailwind
colors: {
  custom: {
    50: '#566d7d',
    500: '#0c374b',
    950: '#000000',
  },
}
SCSS
$custom: #0c374b;
$custom-light: #566d7d;
$custom-dark: #000000;
JSON
{
  "hex": "#0c374b",
  "rgb": {
    "r": 12,
    "g": 55,
    "b": 75
  },
  "hsl": {
    "h": 199.048,
    "s": 72.414,
    "l": 17.059
  },
  "oklch": {
    "l": 0.31845,
    "c": 0.05765,
    "h": 233.3
  },
  "luminance": 0.03319
}

Semantic roles & 50–950 ramp

primary
#0C374B
secondary
#87492C
accent
#7339EF
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#030709
muted
#787A7B

Preview Lab

Preview with #0C374B

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

Preview Lab → · Contrast checker → · Palette generator →

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