#0C282F#0C282F

#0C282F is a dark, muted cyan. Relative luminance 0.018; OKLCH L 25.9% C 0.036 H 216.9°. Best body text is #FFFFFF at 15.44:1 contrast (WCAG AA passes).

Color values

HEX#0C282F
RGBrgb(12, 40, 47)
HSLhsl(192, 59%, 12%)
HSVhsv(192, 74%, 18%)
CMYKcmyk(74.5%, 14.9%, 0%, 81.6%)
CIE-LABlab(14.41, -7.82, -7.72)
CIE-LCHlch(14.41, 10.99, 224.66°)
OKLaboklab(25.9% -0.0286 -0.0215)
OKLCHoklch(25.9% 0.036 216.9)
XYZxyz(1.4233, 1.8008, 2.9614)
Luminance0.0180 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C282F #2F130C
analogous
#0C2F25 #0C282F #0C172F
triadic
#0C282F #2F0C28 #282F0C
tetradic
#0C282F #250C2F #2F130C #172F0C
square
#0C282F #250C2F #2F130C #172F0C
split-complementary
#0C282F #2F0C17 #2F250C
monochromatic
#061518 #061518 #0C282F #185160 #257B91

Accessibility & contrast

On white

15.44
#0C282F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#0C282F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C282F
15.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C282F#FFFFFF#000000##FFFFFF
##0C282F1.0015.441.3615.44
#FFFFFF15.441.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23272F
Deuteranopia (green-blind)
#1E232F
Tritanopia (blue-blind)
#002B2A
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #0c282f;
/* rgb */ color: rgb(12, 40, 47);
/* oklch */ color: oklch(25.9% 0.036 216.9);
Tailwind
colors: {
  custom: {
    50: '#4f6167',
    500: '#0c282f',
    950: '#000000',
  },
}
SCSS
$custom: #0c282f;
$custom-light: #4f6167;
$custom-dark: #000000;
JSON
{
  "hex": "#0c282f",
  "rgb": {
    "r": 12,
    "g": 40,
    "b": 47
  },
  "hsl": {
    "h": 192,
    "s": 59.322,
    "l": 11.569
  },
  "oklch": {
    "l": 0.25902,
    "c": 0.03575,
    "h": 216.9
  },
  "luminance": 0.01801
}

Semantic roles & 50–950 ramp

primary
#0C282F
secondary
#6B392C
accent
#6545E3
background
#F4F5F6
surface
#E7EAEB
border
#C3C6C6
text
#020506
muted
#78797A

Preview Lab

Preview with #0C282F

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

Preview Lab → · Contrast checker → · Palette generator →

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