#0C2139#0C2139

#0C2139 is a very dark, muted cyan. Relative luminance 0.015; OKLCH L 24.5% C 0.053 H 253.4°. Best body text is #FFFFFF at 16.25:1 contrast (WCAG AA passes).

Color values

HEX#0C2139
RGBrgb(12, 33, 57)
HSLhsl(212, 65%, 14%)
HSVhsv(212, 79%, 22%)
CMYKcmyk(78.9%, 42.1%, 0%, 77.6%)
CIE-LABlab(12.36, 1.31, -18.01)
CIE-LCHlch(12.36, 18.06, 274.14°)
OKLaboklab(24.46% -0.0152 -0.0512)
OKLCHoklch(24.46% 0.053 253.4)
XYZxyz(1.4337, 1.4611, 4.0766)
Luminance0.0146 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2139 #39240C
analogous
#0C3739 #0C2139 #0D0C39
triadic
#0C2139 #390C21 #21390C
tetradic
#0C2139 #390C37 #39240C #0C390D
square
#0C2139 #390C37 #39240C #0C390D
split-complementary
#0C2139 #390D0C #37390C
monochromatic
#050F19 #050F19 #0C2139 #173E6C #215C9E

Accessibility & contrast

On white

16.25
#0C2139 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C2139
16.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2139#FFFFFF#000000##FFFFFF
##0C21391.0016.251.2916.25
#FFFFFF16.251.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16233A
Deuteranopia (green-blind)
#101E39
Tritanopia (blue-blind)
#00272A
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #0c2139;
/* rgb */ color: rgb(12, 33, 57);
/* oklch */ color: oklch(24.5% 0.053 253.4);
Tailwind
colors: {
  custom: {
    50: '#515b6f',
    500: '#0c2139',
    950: '#000000',
  },
}
SCSS
$custom: #0c2139;
$custom-light: #515b6f;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2139",
  "rgb": {
    "r": 12,
    "g": 33,
    "b": 57
  },
  "hsl": {
    "h": 212,
    "s": 65.217,
    "l": 13.529
  },
  "oklch": {
    "l": 0.24459,
    "c": 0.05339,
    "h": 253.4
  },
  "luminance": 0.01461
}

Semantic roles & 50–950 ramp

primary
#0C2139
secondary
#75532C
accent
#9A40E8
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020407
muted
#78797A

Preview Lab

Preview with #0C2139

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

Preview Lab → · Contrast checker → · Palette generator →

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