#0C2235#0C2235

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

Color values

HEX#0C2235
RGBrgb(12, 34, 53)
HSLhsl(208, 63%, 13%)
HSVhsv(208, 77%, 21%)
CMYKcmyk(77.4%, 35.8%, 0%, 79.2%)
CIE-LABlab(12.47, -1.17, -14.98)
CIE-LCHlch(12.47, 15.03, 265.53°)
OKLaboklab(24.47% -0.0179 -0.0423)
OKLCHoklch(24.47% 0.046 247.1)
XYZxyz(1.3660, 1.4791, 3.5810)
Luminance0.0148 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2235 #351F0C
analogous
#0C3533 #0C2235 #0C0D35
triadic
#0C2235 #350C22 #22350C
tetradic
#0C2235 #330C35 #351F0C #0D350C
square
#0C2235 #330C35 #351F0C #0D350C
split-complementary
#0C2235 #350C0D #35330C
monochromatic
#061019 #061019 #0C2235 #174267 #236299

Accessibility & contrast

On white

16.21
#0C2235 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C2235
16.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2235#FFFFFF#000000##FFFFFF
##0C22351.0016.211.3016.21
#FFFFFF16.211.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2336
Deuteranopia (green-blind)
#141F35
Tritanopia (blue-blind)
#002729
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #0c2235;
/* rgb */ color: rgb(12, 34, 53);
/* oklch */ color: oklch(24.5% 0.046 247.1);
Tailwind
colors: {
  custom: {
    50: '#505c6c',
    500: '#0c2235',
    950: '#000000',
  },
}
SCSS
$custom: #0c2235;
$custom-light: #505c6c;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2235",
  "rgb": {
    "r": 12,
    "g": 34,
    "b": 53
  },
  "hsl": {
    "h": 207.805,
    "s": 63.077,
    "l": 12.745
  },
  "oklch": {
    "l": 0.24469,
    "c": 0.04595,
    "h": 247.1
  },
  "luminance": 0.01479
}

Semantic roles & 50–950 ramp

primary
#0C2235
secondary
#714C2C
accent
#8E42E6
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020407
muted
#78797A

Preview Lab

Preview with #0C2235

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

Preview Lab → · Contrast checker → · Palette generator →

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