#0C2833#0C2833

#0C2833 is a dark, muted cyan. Relative luminance 0.018; OKLCH L 26.1% C 0.039 H 227.1°. Best body text is #FFFFFF at 15.36:1 contrast (WCAG AA passes).

Color values

HEX#0C2833
RGBrgb(12, 40, 51)
HSLhsl(197, 62%, 12%)
HSVhsv(197, 76%, 20%)
CMYKcmyk(76.5%, 21.6%, 0%, 80%)
CIE-LABlab(14.59, -6.24, -10.27)
CIE-LCHlch(14.59, 12.02, 238.71°)
OKLaboklab(26.12% -0.0266 -0.0287)
OKLCHoklch(26.12% 0.039 227.1)
XYZxyz(1.5077, 1.8346, 3.4060)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2833 #33170C
analogous
#0C332B #0C2833 #0C1533
triadic
#0C2833 #330C28 #28330C
tetradic
#0C2833 #2B0C33 #33170C #15330C
square
#0C2833 #2B0C33 #33170C #15330C
split-complementary
#0C2833 #330C15 #332B0C
monochromatic
#061319 #061319 #0C2833 #184F65 #237696

Accessibility & contrast

On white

15.36
#0C2833 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C2833
15.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2833#FFFFFF#000000##FFFFFF
##0C28331.0015.361.3715.36
#FFFFFF15.361.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222734
Deuteranopia (green-blind)
#1D2333
Tritanopia (blue-blind)
#002B2C
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #0c2833;
/* rgb */ color: rgb(12, 40, 51);
/* oklch */ color: oklch(26.1% 0.039 227.1);
Tailwind
colors: {
  custom: {
    50: '#50616a',
    500: '#0c2833',
    950: '#000000',
  },
}
SCSS
$custom: #0c2833;
$custom-light: #50616a;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2833",
  "rgb": {
    "r": 12,
    "g": 40,
    "b": 51
  },
  "hsl": {
    "h": 196.923,
    "s": 61.905,
    "l": 12.353
  },
  "oklch": {
    "l": 0.26115,
    "c": 0.03914,
    "h": 227.1
  },
  "luminance": 0.01835
}

Semantic roles & 50–950 ramp

primary
#0C2833
secondary
#6F3F2C
accent
#7143E5
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020506
muted
#78797A

Preview Lab

Preview with #0C2833

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

Preview Lab → · Contrast checker → · Palette generator →

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