#0C223B#0C223B

#0C223B is a very dark, muted cyan. Relative luminance 0.015; OKLCH L 24.9% C 0.055 H 253.4°. Best body text is #FFFFFF at 16.06:1 contrast (WCAG AA passes).

Color values

HEX#0C223B
RGBrgb(12, 34, 59)
HSLhsl(212, 66%, 14%)
HSVhsv(212, 80%, 23%)
CMYKcmyk(79.7%, 42.4%, 0%, 76.9%)
CIE-LABlab(12.85, 1.43, -18.66)
CIE-LCHlch(12.85, 18.71, 274.40°)
OKLaboklab(24.88% -0.0158 -0.053)
OKLCHoklch(24.88% 0.055 253.4)
XYZxyz(1.5128, 1.5378, 4.3539)
Luminance0.0154 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C223B #3B250C
analogous
#0C3A3B #0C223B #0E0C3B
triadic
#0C223B #3B0C22 #223B0C
tetradic
#0C223B #3B0C3A #3B250C #0C3B0E
square
#0C223B #3B0C3A #3B250C #0C3B0E
split-complementary
#0C223B #3B0E0C #3A3B0C
monochromatic
#050F19 #050F19 #0C223B #163F6E #215DA1

Accessibility & contrast

On white

16.06
#0C223B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C223B
16.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C223B#FFFFFF#000000##FFFFFF
##0C223B1.0016.061.3116.06
#FFFFFF16.061.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17243C
Deuteranopia (green-blind)
#101F3A
Tritanopia (blue-blind)
#00282B
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #0c223b;
/* rgb */ color: rgb(12, 34, 59);
/* oklch */ color: oklch(24.9% 0.055 253.4);
Tailwind
colors: {
  custom: {
    50: '#525c71',
    500: '#0c223b',
    950: '#000000',
  },
}
SCSS
$custom: #0c223b;
$custom-light: #525c71;
$custom-dark: #000000;
JSON
{
  "hex": "#0c223b",
  "rgb": {
    "r": 12,
    "g": 34,
    "b": 59
  },
  "hsl": {
    "h": 211.915,
    "s": 66.197,
    "l": 13.922
  },
  "oklch": {
    "l": 0.24883,
    "c": 0.05535,
    "h": 253.4
  },
  "luminance": 0.01538
}

Semantic roles & 50–950 ramp

primary
#0C223B
secondary
#77542C
accent
#993FE9
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020407
muted
#78797A

Preview Lab

Preview with #0C223B

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

Preview Lab → · Contrast checker → · Palette generator →

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