#0C213C#0C213C

#0C213C is a very dark, muted cyan. Relative luminance 0.015; OKLCH L 24.7% C 0.058 H 255.8°. Best body text is #FFFFFF at 16.17:1 contrast (WCAG AA passes).

Color values

HEX#0C213C
RGBrgb(12, 33, 60)
HSLhsl(214, 67%, 14%)
HSVhsv(214, 80%, 24%)
CMYKcmyk(80%, 45%, 0%, 76.5%)
CIE-LABlab(12.56, 2.63, -19.82)
CIE-LCHlch(12.56, 19.99, 277.55°)
OKLaboklab(24.68% -0.0143 -0.0565)
OKLCHoklch(24.68% 0.058 255.8)
XYZxyz(1.5108, 1.4920, 4.4824)
Luminance0.0149 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C213C #3C270C
analogous
#0C393C #0C213C #0F0C3C
triadic
#0C213C #3C0C21 #213C0C
tetradic
#0C213C #3C0C39 #3C270C #0C3C0F
square
#0C213C #3C0C39 #3C270C #0C3C0F
split-complementary
#0C213C #3C0F0C #393C0C
monochromatic
#050E1A #050E1A #0C213C #163D6F #2059A2

Accessibility & contrast

On white

16.17
#0C213C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C213C
16.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C213C#FFFFFF#000000##FFFFFF
##0C213C1.0016.171.3016.17
#FFFFFF16.171.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15233D
Deuteranopia (green-blind)
#0D1F3B
Tritanopia (blue-blind)
#00272B
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #0c213c;
/* rgb */ color: rgb(12, 33, 60);
/* oklch */ color: oklch(24.7% 0.058 255.8);
Tailwind
colors: {
  custom: {
    50: '#525b72',
    500: '#0c213c',
    950: '#000000',
  },
}
SCSS
$custom: #0c213c;
$custom-light: #525b72;
$custom-dark: #000000;
JSON
{
  "hex": "#0c213c",
  "rgb": {
    "r": 12,
    "g": 33,
    "b": 60
  },
  "hsl": {
    "h": 213.75,
    "s": 66.667,
    "l": 14.118
  },
  "oklch": {
    "l": 0.24678,
    "c": 0.05826,
    "h": 255.8
  },
  "luminance": 0.01492
}

Semantic roles & 50–950 ramp

primary
#0C213C
secondary
#78572C
accent
#9F3EEA
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020408
muted
#78797B

Preview Lab

Preview with #0C213C

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

Preview Lab → · Contrast checker → · Palette generator →

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