#0C2C42#0C2C42

#0C2C42 is a dark, muted cyan. Relative luminance 0.023; OKLCH L 28.2% C 0.055 H 242.5°. Best body text is #FFFFFF at 14.44:1 contrast (WCAG AA passes).

Color values

HEX#0C2C42
RGBrgb(12, 44, 66)
HSLhsl(204, 69%, 15%)
HSVhsv(204, 82%, 26%)
CMYKcmyk(81.8%, 33.3%, 0%, 74.1%)
CIE-LABlab(16.86, -2.78, -17.21)
CIE-LCHlch(16.86, 17.44, 260.82°)
OKLaboklab(28.18% -0.0253 -0.0487)
OKLCHoklch(28.18% 0.055 242.5)
XYZxyz(2.0353, 2.2726, 5.4846)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2C42 #42220C
analogous
#0C423D #0C2C42 #0C1142
triadic
#0C2C42 #420C2C #2C420C
tetradic
#0C2C42 #3D0C42 #42220C #11420C
square
#0C2C42 #3D0C42 #42220C #11420C
split-complementary
#0C2C42 #420C11 #423D0C
monochromatic
#05111A #05111A #0C2C42 #154F76 #1F71AA

Accessibility & contrast

On white

14.44
#0C2C42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#0C2C42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2C42
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2C42#FFFFFF#000000##FFFFFF
##0C2C421.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222C43
Deuteranopia (green-blind)
#1A2742
Tritanopia (blue-blind)
#003134
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0c2c42;
/* rgb */ color: rgb(12, 44, 66);
/* oklch */ color: oklch(28.2% 0.055 242.5);
Tailwind
colors: {
  custom: {
    50: '#536476',
    500: '#0c2c42',
    950: '#000000',
  },
}
SCSS
$custom: #0c2c42;
$custom-light: #536476;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2c42",
  "rgb": {
    "r": 12,
    "g": 44,
    "b": 66
  },
  "hsl": {
    "h": 204.444,
    "s": 69.231,
    "l": 15.294
  },
  "oklch": {
    "l": 0.28177,
    "c": 0.05486,
    "h": 242.5
  },
  "luminance": 0.02273
}

Semantic roles & 50–950 ramp

primary
#0C2C42
secondary
#7E4D2C
accent
#843CEC
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#030508
muted
#787A7B

Preview Lab

Preview with #0C2C42

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

Preview Lab → · Contrast checker → · Palette generator →

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