#0C0830#0C0830

#0C0830 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.4% C 0.076 H 279.6°. Best body text is #FFFFFF at 19.21:1 contrast (WCAG AA passes).

Color values

HEX#0C0830
RGBrgb(12, 8, 48)
HSLhsl(246, 71%, 11%)
HSVhsv(246, 83%, 19%)
CMYKcmyk(75%, 83.3%, 0%, 81.2%)
CIE-LABlab(4.20, 13.50, -24.52)
CIE-LCHlch(4.20, 27.99, 298.85°)
OKLaboklab(17.42% 0.0127 -0.0749)
OKLCHoklch(17.42% 0.076 279.6)
XYZxyz(0.7718, 0.4652, 2.8448)
Luminance0.0046 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C0830 #2C3008
analogous
#081830 #0C0830 #200830
triadic
#0C0830 #300C08 #08300C
tetradic
#0C0830 #300818 #2C3008 #083020
square
#0C0830 #300818 #2C3008 #083020
split-complementary
#0C0830 #302008 #183008
monochromatic
#07041A #07041A #0C0830 #191164 #261999

Accessibility & contrast

On white

19.21
#0C0830 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#0C0830 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C0830
19.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C0830#FFFFFF#000000##FFFFFF
##0C08301.0019.211.0919.21
#FFFFFF19.211.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001031
Deuteranopia (green-blind)
#000D2F
Tritanopia (blue-blind)
#00131B
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #0c0830;
/* rgb */ color: rgb(12, 8, 48);
/* oklch */ color: oklch(17.4% 0.076 279.6);
Tailwind
colors: {
  custom: {
    50: '#4f4a69',
    500: '#0c0830',
    950: '#000000',
  },
}
SCSS
$custom: #0c0830;
$custom-light: #4f4a69;
$custom-dark: #000000;
JSON
{
  "hex": "#0c0830",
  "rgb": {
    "r": 12,
    "g": 8,
    "b": 48
  },
  "hsl": {
    "h": 246,
    "s": 71.429,
    "l": 10.98
  },
  "oklch": {
    "l": 0.17421,
    "c": 0.07593,
    "h": 279.6
  },
  "luminance": 0.00465
}

Semantic roles & 50–950 ramp

primary
#0C0830
secondary
#676F25
accent
#EE3ADC
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A

Preview Lab

Preview with #0C0830

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

Preview Lab → · Contrast checker → · Palette generator →

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