#0C2A39#0C2A39

#0C2A39 is a dark, muted cyan. Relative luminance 0.020; OKLCH L 27.0% C 0.045 H 233.7°. Best body text is #FFFFFF at 14.94:1 contrast (WCAG AA passes).

Color values

HEX#0C2A39
RGBrgb(12, 42, 57)
HSLhsl(200, 65%, 14%)
HSVhsv(200, 79%, 22%)
CMYKcmyk(78.9%, 26.3%, 0%, 77.6%)
CIE-LABlab(15.64, -5.17, -12.87)
CIE-LCHlch(15.64, 13.87, 248.13°)
OKLaboklab(27.05% -0.0265 -0.0361)
OKLCHoklch(27.05% 0.045 233.7)
XYZxyz(1.7178, 2.0293, 4.1713)
Luminance0.0203 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2A39 #391B0C
analogous
#0C3931 #0C2A39 #0C1339
triadic
#0C2A39 #390C2A #2A390C
tetradic
#0C2A39 #310C39 #391B0C #13390C
square
#0C2A39 #310C39 #391B0C #13390C
split-complementary
#0C2A39 #390C13 #39310C
monochromatic
#051319 #051319 #0C2A39 #174F6C #21759E

Accessibility & contrast

On white

14.94
#0C2A39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#0C2A39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2A39
14.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2A39#FFFFFF#000000##FFFFFF
##0C2A391.0014.941.4114.94
#FFFFFF14.941.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232A3A
Deuteranopia (green-blind)
#1D2539
Tritanopia (blue-blind)
#002E2F
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #0c2a39;
/* rgb */ color: rgb(12, 42, 57);
/* oklch */ color: oklch(27.0% 0.045 233.7);
Tailwind
colors: {
  custom: {
    50: '#51636f',
    500: '#0c2a39',
    950: '#000000',
  },
}
SCSS
$custom: #0c2a39;
$custom-light: #51636f;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2a39",
  "rgb": {
    "r": 12,
    "g": 42,
    "b": 57
  },
  "hsl": {
    "h": 200,
    "s": 65.217,
    "l": 13.529
  },
  "oklch": {
    "l": 0.27049,
    "c": 0.04482,
    "h": 233.7
  },
  "luminance": 0.02029
}

Semantic roles & 50–950 ramp

primary
#0C2A39
secondary
#75442C
accent
#7840E8
background
#F4F5F6
surface
#E7EAEC
border
#C3C6C7
text
#020507
muted
#78797A

Preview Lab

Preview with #0C2A39

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

Preview Lab → · Contrast checker → · Palette generator →

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