#0C374C#0C374C

#0C374C is a dark, muted cyan. Relative luminance 0.033; OKLCH L 31.9% C 0.059 H 234.6°. Best body text is #FFFFFF at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#0C374C
RGBrgb(12, 55, 76)
HSLhsl(200, 73%, 17%)
HSVhsv(200, 84%, 30%)
CMYKcmyk(84.2%, 27.6%, 0%, 70.2%)
CIE-LABlab(21.33, -6.07, -17.00)
CIE-LCHlch(21.33, 18.06, 250.35°)
OKLaboklab(31.9% -0.034 -0.0479)
OKLCHoklch(31.9% 0.059 234.6)
XYZxyz(2.8218, 3.3320, 7.3305)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C374C #4C210C
analogous
#0C4C41 #0C374C #0C174C
triadic
#0C374C #4C0C37 #374C0C
tetradic
#0C374C #410C4C #4C210C #174C0C
square
#0C374C #410C4C #4C210C #174C0C
split-complementary
#0C374C #4C0C17 #4C410C
monochromatic
#04131A #04131A #0C374C #145D81 #1D83B6

Accessibility & contrast

On white

12.60
#0C374C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#0C374C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C374C
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C374C#FFFFFF#000000##FFFFFF
##0C374C1.0012.601.6712.60
#FFFFFF12.601.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D374D
Deuteranopia (green-blind)
#24314C
Tritanopia (blue-blind)
#003D3E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #0c374c;
/* rgb */ color: rgb(12, 55, 76);
/* oklch */ color: oklch(31.9% 0.059 234.6);
Tailwind
colors: {
  custom: {
    50: '#566d7e',
    500: '#0c374c',
    950: '#000000',
  },
}
SCSS
$custom: #0c374c;
$custom-light: #566d7e;
$custom-dark: #000000;
JSON
{
  "hex": "#0c374c",
  "rgb": {
    "r": 12,
    "g": 55,
    "b": 76
  },
  "hsl": {
    "h": 199.688,
    "s": 72.727,
    "l": 17.255
  },
  "oklch": {
    "l": 0.31903,
    "c": 0.05879,
    "h": 234.6
  },
  "luminance": 0.03332
}

Semantic roles & 50–950 ramp

primary
#0C374C
secondary
#884A2C
accent
#7438EF
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#03070A
muted
#787A7C

Preview Lab

Preview with #0C374C

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

Preview Lab → · Contrast checker → · Palette generator →

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