#0C2835#0C2835

#0C2835 is a dark, muted cyan. Relative luminance 0.019; OKLCH L 26.2% C 0.041 H 231.5°. Best body text is #FFFFFF at 15.32:1 contrast (WCAG AA passes).

Color values

HEX#0C2835
RGBrgb(12, 40, 53)
HSLhsl(199, 63%, 13%)
HSVhsv(199, 77%, 21%)
CMYKcmyk(77.4%, 24.5%, 0%, 79.2%)
CIE-LABlab(14.69, -5.43, -11.53)
CIE-LCHlch(14.69, 12.74, 244.78°)
OKLaboklab(26.23% -0.0257 -0.0323)
OKLCHoklch(26.23% 0.041 231.5)
XYZxyz(1.5528, 1.8526, 3.6432)
Luminance0.0185 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2835 #35190C
analogous
#0C352D #0C2835 #0C1435
triadic
#0C2835 #350C28 #28350C
tetradic
#0C2835 #2D0C35 #35190C #14350C
square
#0C2835 #2D0C35 #35190C #14350C
split-complementary
#0C2835 #350C14 #352D0C
monochromatic
#061319 #061319 #0C2835 #174E67 #237399

Accessibility & contrast

On white

15.32
#0C2835 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#0C2835 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2835
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2835#FFFFFF#000000##FFFFFF
##0C28351.0015.321.3715.32
#FFFFFF15.321.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222736
Deuteranopia (green-blind)
#1C2335
Tritanopia (blue-blind)
#002C2C
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #0c2835;
/* rgb */ color: rgb(12, 40, 53);
/* oklch */ color: oklch(26.2% 0.041 231.5);
Tailwind
colors: {
  custom: {
    50: '#50616c',
    500: '#0c2835',
    950: '#000000',
  },
}
SCSS
$custom: #0c2835;
$custom-light: #50616c;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2835",
  "rgb": {
    "r": 12,
    "g": 40,
    "b": 53
  },
  "hsl": {
    "h": 199.024,
    "s": 63.077,
    "l": 12.745
  },
  "oklch": {
    "l": 0.26228,
    "c": 0.04127,
    "h": 231.5
  },
  "luminance": 0.01853
}

Semantic roles & 50–950 ramp

primary
#0C2835
secondary
#71422C
accent
#7642E6
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020507
muted
#78797A

Preview Lab

Preview with #0C2835

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

Preview Lab → · Contrast checker → · Palette generator →

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