#0C213D#0C213D

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

Color values

HEX#0C213D
RGBrgb(12, 33, 61)
HSLhsl(214, 67%, 14%)
HSVhsv(214, 80%, 24%)
CMYKcmyk(80.3%, 45.9%, 0%, 76.1%)
CIE-LABlab(12.62, 3.07, -20.42)
CIE-LCHlch(12.62, 20.65, 278.55°)
OKLaboklab(24.75% -0.014 -0.0582)
OKLCHoklch(24.75% 0.06 256.4)
XYZxyz(1.5375, 1.5026, 4.6230)
Luminance0.0150 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C213D #3D280C
analogous
#0C3A3D #0C213D #100C3D
triadic
#0C213D #3D0C21 #213D0C
tetradic
#0C213D #3D0C3A #3D280C #0C3D10
square
#0C213D #3D0C3A #3D280C #0C3D10
split-complementary
#0C213D #3D100C #3A3D0C
monochromatic
#050E1A #050E1A #0C213D #163D70 #2058A3

Accessibility & contrast

On white

16.15
#0C213D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#0C213D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C213D
16.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C213D#FFFFFF#000000##FFFFFF
##0C213D1.0016.151.3016.15
#FFFFFF16.151.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c213d;
/* rgb */ color: rgb(12, 33, 61);
/* oklch */ color: oklch(24.8% 0.060 256.4);
Tailwind
colors: {
  custom: {
    50: '#525b72',
    500: '#0c213d',
    950: '#000000',
  },
}
SCSS
$custom: #0c213d;
$custom-light: #525b72;
$custom-dark: #000000;
JSON
{
  "hex": "#0c213d",
  "rgb": {
    "r": 12,
    "g": 33,
    "b": 61
  },
  "hsl": {
    "h": 214.286,
    "s": 67.123,
    "l": 14.314
  },
  "oklch": {
    "l": 0.24753,
    "c": 0.05989,
    "h": 256.4
  },
  "luminance": 0.01503
}

Semantic roles & 50–950 ramp

primary
#0C213D
secondary
#79582C
accent
#A03EEA
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020408
muted
#78797B

Preview Lab

Preview with #0C213D

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

Preview Lab → · Contrast checker → · Palette generator →

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