#0C223C#0C223C

#0C223C is a very dark, muted cyan. Relative luminance 0.015; OKLCH L 25.0% C 0.057 H 254.2°. Best body text is #FFFFFF at 16.04:1 contrast (WCAG AA passes).

Color values

HEX#0C223C
RGBrgb(12, 34, 60)
HSLhsl(213, 67%, 14%)
HSVhsv(213, 80%, 24%)
CMYKcmyk(80%, 43.3%, 0%, 76.5%)
CIE-LABlab(12.91, 1.87, -19.26)
CIE-LCHlch(12.91, 19.35, 275.56°)
OKLaboklab(24.96% -0.0155 -0.0548)
OKLCHoklch(24.96% 0.057 254.2)
XYZxyz(1.5390, 1.5483, 4.4918)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C223C #3C260C
analogous
#0C3A3C #0C223C #0E0C3C
triadic
#0C223C #3C0C22 #223C0C
tetradic
#0C223C #3C0C3A #3C260C #0C3C0E
square
#0C223C #3C0C3A #3C260C #0C3C0E
split-complementary
#0C223C #3C0E0C #3A3C0C
monochromatic
#050E1A #050E1A #0C223C #163F6F #205CA2

Accessibility & contrast

On white

16.04
#0C223C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C223C
16.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C223C#FFFFFF#000000##FFFFFF
##0C223C1.0016.041.3116.04
#FFFFFF16.041.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c223c;
/* rgb */ color: rgb(12, 34, 60);
/* oklch */ color: oklch(25.0% 0.057 254.2);
Tailwind
colors: {
  custom: {
    50: '#525c72',
    500: '#0c223c',
    950: '#000000',
  },
}
SCSS
$custom: #0c223c;
$custom-light: #525c72;
$custom-dark: #000000;
JSON
{
  "hex": "#0c223c",
  "rgb": {
    "r": 12,
    "g": 34,
    "b": 60
  },
  "hsl": {
    "h": 212.5,
    "s": 66.667,
    "l": 14.118
  },
  "oklch": {
    "l": 0.24955,
    "c": 0.05695,
    "h": 254.2
  },
  "luminance": 0.01548
}

Semantic roles & 50–950 ramp

primary
#0C223C
secondary
#78552C
accent
#9B3EEA
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020408
muted
#78797B

Preview Lab

Preview with #0C223C

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

Preview Lab → · Contrast checker → · Palette generator →

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