#0C223D#0C223D

#0C223D is a dark, muted cyan. Relative luminance 0.016; OKLCH L 25.0% C 0.059 H 254.9°. Best body text is #FFFFFF at 16.01:1 contrast (WCAG AA passes).

Color values

HEX#0C223D
RGBrgb(12, 34, 61)
HSLhsl(213, 67%, 14%)
HSVhsv(213, 80%, 24%)
CMYKcmyk(80.3%, 44.3%, 0%, 76.1%)
CIE-LABlab(12.98, 2.31, -19.86)
CIE-LCHlch(12.98, 19.99, 276.64°)
OKLaboklab(25.03% -0.0152 -0.0566)
OKLCHoklch(25.03% 0.059 254.9)
XYZxyz(1.5656, 1.5590, 4.6324)
Luminance0.0156 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C223D #3D270C
analogous
#0C3B3D #0C223D #0F0C3D
triadic
#0C223D #3D0C22 #223D0C
tetradic
#0C223D #3D0C3B #3D270C #0C3D0F
square
#0C223D #3D0C3B #3D270C #0C3D0F
split-complementary
#0C223D #3D0F0C #3B3D0C
monochromatic
#050E1A #050E1A #0C223D #163F70 #205BA3

Accessibility & contrast

On white

16.01
#0C223D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C223D
16.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C223D#FFFFFF#000000##FFFFFF
##0C223D1.0016.011.3116.01
#FFFFFF16.011.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16243E
Deuteranopia (green-blind)
#0E1F3C
Tritanopia (blue-blind)
#00282C
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #0c223d;
/* rgb */ color: rgb(12, 34, 61);
/* oklch */ color: oklch(25.0% 0.059 254.9);
Tailwind
colors: {
  custom: {
    50: '#525c72',
    500: '#0c223d',
    950: '#000000',
  },
}
SCSS
$custom: #0c223d;
$custom-light: #525c72;
$custom-dark: #000000;
JSON
{
  "hex": "#0c223d",
  "rgb": {
    "r": 12,
    "g": 34,
    "b": 61
  },
  "hsl": {
    "h": 213.061,
    "s": 67.123,
    "l": 14.314
  },
  "oklch": {
    "l": 0.25028,
    "c": 0.05857,
    "h": 254.9
  },
  "luminance": 0.01559
}

Semantic roles & 50–950 ramp

primary
#0C223D
secondary
#79562C
accent
#9D3EEA
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020408
muted
#78797B

Preview Lab

Preview with #0C223D

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

Preview Lab → · Contrast checker → · Palette generator →

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