#0C2237#0C2237

#0C2237 is a very dark, muted cyan. Relative luminance 0.015; OKLCH L 24.6% C 0.049 H 249.5°. Best body text is #FFFFFF at 16.16:1 contrast (WCAG AA passes).

Color values

HEX#0C2237
RGBrgb(12, 34, 55)
HSLhsl(209, 64%, 13%)
HSVhsv(209, 78%, 22%)
CMYKcmyk(78.2%, 38.2%, 0%, 78.4%)
CIE-LABlab(12.59, -0.31, -16.22)
CIE-LCHlch(12.59, 16.22, 268.91°)
OKLaboklab(24.6% -0.0171 -0.0459)
OKLCHoklch(24.6% 0.049 249.5)
XYZxyz(1.4130, 1.4979, 3.8283)
Luminance0.0150 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2237 #37210C
analogous
#0C3736 #0C2237 #0C0D37
triadic
#0C2237 #370C22 #22370C
tetradic
#0C2237 #360C37 #37210C #0D370C
square
#0C2237 #360C37 #37210C #0D370C
split-complementary
#0C2237 #370C0D #37360C
monochromatic
#051019 #051019 #0C2237 #174169 #22609B

Accessibility & contrast

On white

16.16
#0C2237 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C2237
16.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2237#FFFFFF#000000##FFFFFF
##0C22371.0016.161.3016.16
#FFFFFF16.161.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192338
Deuteranopia (green-blind)
#131F37
Tritanopia (blue-blind)
#00272A
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #0c2237;
/* rgb */ color: rgb(12, 34, 55);
/* oklch */ color: oklch(24.6% 0.049 249.5);
Tailwind
colors: {
  custom: {
    50: '#515c6e',
    500: '#0c2237',
    950: '#000000',
  },
}
SCSS
$custom: #0c2237;
$custom-light: #515c6e;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2237",
  "rgb": {
    "r": 12,
    "g": 34,
    "b": 55
  },
  "hsl": {
    "h": 209.302,
    "s": 64.179,
    "l": 13.137
  },
  "oklch": {
    "l": 0.24603,
    "c": 0.04902,
    "h": 249.5
  },
  "luminance": 0.01498
}

Semantic roles & 50–950 ramp

primary
#0C2237
secondary
#734F2C
accent
#9241E7
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020407
muted
#78797A

Preview Lab

Preview with #0C2237

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

Preview Lab → · Contrast checker → · Palette generator →

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