#0C2136#0C2136

#0C2136 is a very dark, muted cyan. Relative luminance 0.014; OKLCH L 24.2% C 0.049 H 250.5°. Best body text is #FFFFFF at 16.32:1 contrast (WCAG AA passes).

Color values

HEX#0C2136
RGBrgb(12, 33, 54)
HSLhsl(210, 64%, 13%)
HSVhsv(210, 78%, 21%)
CMYKcmyk(77.8%, 38.9%, 0%, 78.8%)
CIE-LABlab(12.17, -0.00, -16.18)
CIE-LCHlch(12.17, 16.18, 269.99°)
OKLaboklab(24.25% -0.0162 -0.0458)
OKLCHoklch(24.25% 0.049 250.5)
XYZxyz(1.3611, 1.4321, 3.6940)
Luminance0.0143 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2136 #36210C
analogous
#0C3636 #0C2136 #0C0C36
triadic
#0C2136 #360C21 #21360C
tetradic
#0C2136 #360C36 #36210C #0C360C
square
#0C2136 #360C36 #36210C #0C360C
split-complementary
#0C2136 #360C0C #36360C
monochromatic
#060F19 #060F19 #0C2136 #174068 #225E9A

Accessibility & contrast

On white

16.32
#0C2136 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C2136
16.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2136#FFFFFF#000000##FFFFFF
##0C21361.0016.321.2916.32
#FFFFFF16.321.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182237
Deuteranopia (green-blind)
#121E36
Tritanopia (blue-blind)
#002629
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #0c2136;
/* rgb */ color: rgb(12, 33, 54);
/* oklch */ color: oklch(24.2% 0.049 250.5);
Tailwind
colors: {
  custom: {
    50: '#505b6d',
    500: '#0c2136',
    950: '#000000',
  },
}
SCSS
$custom: #0c2136;
$custom-light: #505b6d;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2136",
  "rgb": {
    "r": 12,
    "g": 33,
    "b": 54
  },
  "hsl": {
    "h": 210,
    "s": 63.636,
    "l": 12.941
  },
  "oklch": {
    "l": 0.24249,
    "c": 0.0486,
    "h": 250.5
  },
  "luminance": 0.01432
}

Semantic roles & 50–950 ramp

primary
#0C2136
secondary
#724F2C
accent
#9441E7
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020407
muted
#78797A

Preview Lab

Preview with #0C2136

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

Preview Lab → · Contrast checker → · Palette generator →

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