#0C223A#0C223A

#0C223A is a very dark, muted cyan. Relative luminance 0.015; OKLCH L 24.8% C 0.054 H 252.5°. Best body text is #FFFFFF at 16.08:1 contrast (WCAG AA passes).

Color values

HEX#0C223A
RGBrgb(12, 34, 58)
HSLhsl(211, 66%, 14%)
HSVhsv(211, 79%, 23%)
CMYKcmyk(79.3%, 41.4%, 0%, 77.3%)
CIE-LABlab(12.78, 0.99, -18.05)
CIE-LCHlch(12.78, 18.08, 273.15°)
OKLaboklab(24.81% -0.0161 -0.0513)
OKLCHoklch(24.81% 0.054 252.5)
XYZxyz(1.4871, 1.5276, 4.2186)
Luminance0.0153 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C223A #3A240C
analogous
#0C393A #0C223A #0D0C3A
triadic
#0C223A #3A0C22 #223A0C
tetradic
#0C223A #3A0C39 #3A240C #0C3A0D
square
#0C223A #3A0C39 #3A240C #0C3A0D
split-complementary
#0C223A #3A0D0C #393A0C
monochromatic
#050F19 #050F19 #0C223A #16406D #215D9F

Accessibility & contrast

On white

16.08
#0C223A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#0C223A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C223A
16.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C223A#FFFFFF#000000##FFFFFF
##0C223A1.0016.081.3116.08
#FFFFFF16.081.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17233B
Deuteranopia (green-blind)
#111F3A
Tritanopia (blue-blind)
#00282B
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #0c223a;
/* rgb */ color: rgb(12, 34, 58);
/* oklch */ color: oklch(24.8% 0.054 252.5);
Tailwind
colors: {
  custom: {
    50: '#515c70',
    500: '#0c223a',
    950: '#000000',
  },
}
SCSS
$custom: #0c223a;
$custom-light: #515c70;
$custom-dark: #000000;
JSON
{
  "hex": "#0c223a",
  "rgb": {
    "r": 12,
    "g": 34,
    "b": 58
  },
  "hsl": {
    "h": 211.304,
    "s": 65.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.24811,
    "c": 0.05375,
    "h": 252.5
  },
  "luminance": 0.01528
}

Semantic roles & 50–950 ramp

primary
#0C223A
secondary
#76532C
accent
#983FE9
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020407
muted
#78797A

Preview Lab

Preview with #0C223A

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

Preview Lab → · Contrast checker → · Palette generator →

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