#0C2A34#0C2A34

#0C2A34 is a dark, muted cyan. Relative luminance 0.020; OKLCH L 26.8% C 0.040 H 223.3°. Best body text is #FFFFFF at 15.04:1 contrast (WCAG AA passes).

Color values

HEX#0C2A34
RGBrgb(12, 42, 52)
HSLhsl(195, 63%, 13%)
HSVhsv(195, 77%, 20%)
CMYKcmyk(76.9%, 19.2%, 0%, 79.6%)
CIE-LABlab(15.39, -7.19, -9.75)
CIE-LCHlch(15.39, 12.11, 233.59°)
OKLaboklab(26.77% -0.0288 -0.0272)
OKLCHoklch(26.77% 0.04 223.3)
XYZxyz(1.5992, 1.9819, 3.5464)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2A34 #34160C
analogous
#0C342A #0C2A34 #0C1634
triadic
#0C2A34 #340C2A #2A340C
tetradic
#0C2A34 #2A0C34 #34160C #16340C
square
#0C2A34 #2A0C34 #34160C #16340C
split-complementary
#0C2A34 #340C16 #342A0C
monochromatic
#061419 #061419 #0C2A34 #175266 #237A97

Accessibility & contrast

On white

15.04
#0C2A34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#0C2A34 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2A34
15.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2A34#FFFFFF#000000##FFFFFF
##0C2A341.0015.041.4015.04
#FFFFFF15.041.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242935
Deuteranopia (green-blind)
#1F2534
Tritanopia (blue-blind)
#002D2D
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #0c2a34;
/* rgb */ color: rgb(12, 42, 52);
/* oklch */ color: oklch(26.8% 0.040 223.3);
Tailwind
colors: {
  custom: {
    50: '#50636b',
    500: '#0c2a34',
    950: '#000000',
  },
}
SCSS
$custom: #0c2a34;
$custom-light: #50636b;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2a34",
  "rgb": {
    "r": 12,
    "g": 42,
    "b": 52
  },
  "hsl": {
    "h": 195,
    "s": 62.5,
    "l": 12.549
  },
  "oklch": {
    "l": 0.26769,
    "c": 0.03962,
    "h": 223.3
  },
  "luminance": 0.01982
}

Semantic roles & 50–950 ramp

primary
#0C2A34
secondary
#703D2C
accent
#6B42E6
background
#F4F5F6
surface
#E7EAEB
border
#C3C6C6
text
#020506
muted
#78797A

Preview Lab

Preview with #0C2A34

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

Preview Lab → · Contrast checker → · Palette generator →

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