#0C2137#0C2137

#0C2137 is a very dark, muted cyan. Relative luminance 0.014; OKLCH L 24.3% C 0.050 H 251.6°. Best body text is #FFFFFF at 16.30:1 contrast (WCAG AA passes).

Color values

HEX#0C2137
RGBrgb(12, 33, 55)
HSLhsl(211, 64%, 13%)
HSVhsv(211, 78%, 22%)
CMYKcmyk(78.2%, 40%, 0%, 78.4%)
CIE-LABlab(12.23, 0.43, -16.79)
CIE-LCHlch(12.23, 16.80, 271.47°)
OKLaboklab(24.32% -0.0159 -0.0476)
OKLCHoklch(24.32% 0.05 251.6)
XYZxyz(1.3848, 1.4416, 3.8190)
Luminance0.0144 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2137 #37220C
analogous
#0C3637 #0C2137 #0D0C37
triadic
#0C2137 #370C21 #21370C
tetradic
#0C2137 #370C36 #37220C #0C370D
square
#0C2137 #370C36 #37220C #0C370D
split-complementary
#0C2137 #370D0C #36370C
monochromatic
#050F19 #050F19 #0C2137 #173F69 #225D9B

Accessibility & contrast

On white

16.30
#0C2137 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#0C2137 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2137
16.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2137#FFFFFF#000000##FFFFFF
##0C21371.0016.301.2916.30
#FFFFFF16.301.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172238
Deuteranopia (green-blind)
#111E37
Tritanopia (blue-blind)
#002629
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #0c2137;
/* rgb */ color: rgb(12, 33, 55);
/* oklch */ color: oklch(24.3% 0.050 251.6);
Tailwind
colors: {
  custom: {
    50: '#515b6e',
    500: '#0c2137',
    950: '#000000',
  },
}
SCSS
$custom: #0c2137;
$custom-light: #515b6e;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2137",
  "rgb": {
    "r": 12,
    "g": 33,
    "b": 55
  },
  "hsl": {
    "h": 210.698,
    "s": 64.179,
    "l": 13.137
  },
  "oklch": {
    "l": 0.24318,
    "c": 0.05019,
    "h": 251.6
  },
  "luminance": 0.01442
}

Semantic roles & 50–950 ramp

primary
#0C2137
secondary
#73502C
accent
#9641E7
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020407
muted
#78797A

Preview Lab

Preview with #0C2137

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

Preview Lab → · Contrast checker → · Palette generator →

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