#0C213B#0C213B

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

Color values

HEX#0C213B
RGBrgb(12, 33, 59)
HSLhsl(213, 66%, 14%)
HSVhsv(213, 80%, 23%)
CMYKcmyk(79.7%, 44.1%, 0%, 76.9%)
CIE-LABlab(12.49, 2.18, -19.22)
CIE-LCHlch(12.49, 19.35, 276.48°)
OKLaboklab(24.6% -0.0146 -0.0547)
OKLCHoklch(24.6% 0.057 255)
XYZxyz(1.4846, 1.4815, 4.3445)
Luminance0.0148 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C213B #3B260C
analogous
#0C393B #0C213B #0F0C3B
triadic
#0C213B #3B0C21 #213B0C
tetradic
#0C213B #3B0C39 #3B260C #0C3B0F
square
#0C213B #3B0C39 #3B260C #0C3B0F
split-complementary
#0C213B #3B0F0C #393B0C
monochromatic
#050E19 #050E19 #0C213B #163D6E #215AA1

Accessibility & contrast

On white

16.20
#0C213B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C213B
16.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C213B#FFFFFF#000000##FFFFFF
##0C213B1.0016.201.3016.20
#FFFFFF16.201.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15233C
Deuteranopia (green-blind)
#0E1E3A
Tritanopia (blue-blind)
#00272B
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #0c213b;
/* rgb */ color: rgb(12, 33, 59);
/* oklch */ color: oklch(24.6% 0.057 255.0);
Tailwind
colors: {
  custom: {
    50: '#525b71',
    500: '#0c213b',
    950: '#000000',
  },
}
SCSS
$custom: #0c213b;
$custom-light: #525b71;
$custom-dark: #000000;
JSON
{
  "hex": "#0c213b",
  "rgb": {
    "r": 12,
    "g": 33,
    "b": 59
  },
  "hsl": {
    "h": 213.191,
    "s": 66.197,
    "l": 13.922
  },
  "oklch": {
    "l": 0.24604,
    "c": 0.05663,
    "h": 255
  },
  "luminance": 0.01482
}

Semantic roles & 50–950 ramp

primary
#0C213B
secondary
#77552C
accent
#9D3FE9
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020407
muted
#78797A

Preview Lab

Preview with #0C213B

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

Preview Lab → · Contrast checker → · Palette generator →

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