#0C2830#0C2830

#0C2830 is a dark, muted cyan. Relative luminance 0.018; OKLCH L 26.0% C 0.036 H 219.6°. Best body text is #FFFFFF at 15.42:1 contrast (WCAG AA passes).

Color values

HEX#0C2830
RGBrgb(12, 40, 48)
HSLhsl(193, 60%, 12%)
HSVhsv(193, 75%, 19%)
CMYKcmyk(75%, 16.7%, 0%, 81.2%)
CIE-LABlab(14.45, -7.43, -8.36)
CIE-LCHlch(14.45, 11.19, 228.39°)
OKLaboklab(25.95% -0.0281 -0.0233)
OKLCHoklch(25.95% 0.036 219.6)
XYZxyz(1.4437, 1.8090, 3.0688)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2830 #30140C
analogous
#0C3026 #0C2830 #0C1630
triadic
#0C2830 #300C28 #28300C
tetradic
#0C2830 #260C30 #30140C #16300C
square
#0C2830 #260C30 #30140C #16300C
split-complementary
#0C2830 #300C16 #30260C
monochromatic
#061418 #061418 #0C2830 #185161 #247A92

Accessibility & contrast

On white

15.42
#0C2830 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#0C2830 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2830
15.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2830#FFFFFF#000000##FFFFFF
##0C28301.0015.421.3615.42
#FFFFFF15.421.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232730
Deuteranopia (green-blind)
#1E2330
Tritanopia (blue-blind)
#002B2B
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #0c2830;
/* rgb */ color: rgb(12, 40, 48);
/* oklch */ color: oklch(26.0% 0.036 219.6);
Tailwind
colors: {
  custom: {
    50: '#506168',
    500: '#0c2830',
    950: '#000000',
  },
}
SCSS
$custom: #0c2830;
$custom-light: #506168;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2830",
  "rgb": {
    "r": 12,
    "g": 40,
    "b": 48
  },
  "hsl": {
    "h": 193.333,
    "s": 60,
    "l": 11.765
  },
  "oklch": {
    "l": 0.25954,
    "c": 0.03648,
    "h": 219.6
  },
  "luminance": 0.01809
}

Semantic roles & 50–950 ramp

primary
#0C2830
secondary
#6C3A2C
accent
#6845E3
background
#F4F5F6
surface
#E7EAEB
border
#C3C6C6
text
#020506
muted
#78797A

Preview Lab

Preview with #0C2830

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

Preview Lab → · Contrast checker → · Palette generator →

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