#0C2239#0C2239

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

Color values

HEX#0C2239
RGBrgb(12, 34, 57)
HSLhsl(211, 65%, 14%)
HSVhsv(211, 79%, 22%)
CMYKcmyk(78.9%, 40.4%, 0%, 77.6%)
CIE-LABlab(12.72, 0.56, -17.44)
CIE-LCHlch(12.72, 17.45, 271.83°)
OKLaboklab(24.74% -0.0165 -0.0495)
OKLCHoklch(24.74% 0.052 251.6)
XYZxyz(1.4619, 1.5175, 4.0860)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2239 #39230C
analogous
#0C3839 #0C2239 #0D0C39
triadic
#0C2239 #390C22 #22390C
tetradic
#0C2239 #390C38 #39230C #0C390D
square
#0C2239 #390C38 #39230C #0C390D
split-complementary
#0C2239 #390D0C #38390C
monochromatic
#050F19 #050F19 #0C2239 #17406C #215E9E

Accessibility & contrast

On white

16.11
#0C2239 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C2239
16.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2239#FFFFFF#000000##FFFFFF
##0C22391.0016.111.3016.11
#FFFFFF16.111.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18233A
Deuteranopia (green-blind)
#111F39
Tritanopia (blue-blind)
#00272A
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #0c2239;
/* rgb */ color: rgb(12, 34, 57);
/* oklch */ color: oklch(24.7% 0.052 251.6);
Tailwind
colors: {
  custom: {
    50: '#515c6f',
    500: '#0c2239',
    950: '#000000',
  },
}
SCSS
$custom: #0c2239;
$custom-light: #515c6f;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2239",
  "rgb": {
    "r": 12,
    "g": 34,
    "b": 57
  },
  "hsl": {
    "h": 210.667,
    "s": 65.217,
    "l": 13.529
  },
  "oklch": {
    "l": 0.24741,
    "c": 0.05216,
    "h": 251.6
  },
  "luminance": 0.01518
}

Semantic roles & 50–950 ramp

primary
#0C2239
secondary
#75512C
accent
#9640E8
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020407
muted
#78797A

Preview Lab

Preview with #0C2239

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

Preview Lab → · Contrast checker → · Palette generator →

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