#0C083D#0C083D

#0C083D is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.0% C 0.096 H 275.7°. Best body text is #FFFFFF at 18.79:1 contrast (WCAG AA passes).

Color values

HEX#0C083D
RGBrgb(12, 8, 61)
HSLhsl(245, 77%, 14%)
HSVhsv(245, 87%, 24%)
CMYKcmyk(80.3%, 86.9%, 0%, 76.1%)
CIE-LABlab(5.32, 20.54, -32.24)
CIE-LCHlch(5.32, 38.23, 302.50°)
OKLaboklab(19.02% 0.0095 -0.0951)
OKLCHoklch(19.02% 0.096 275.7)
XYZxyz(1.0805, 0.5886, 4.4707)
Luminance0.0059 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C083D #393D08
analogous
#081E3D #0C083D #26083D
triadic
#0C083D #3D0C08 #083D0C
tetradic
#0C083D #3D081E #393D08 #083D26
square
#0C083D #3D081E #393D08 #083D26
split-complementary
#0C083D #3D2608 #1E3D08
monochromatic
#05041B #05041B #0C083D #170F73 #2116A9

Accessibility & contrast

On white

18.79
#0C083D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#0C083D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C083D
18.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C083D#FFFFFF#000000##FFFFFF
##0C083D1.0018.791.1218.79
#FFFFFF18.791.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00143F
Deuteranopia (green-blind)
#000F3C
Tritanopia (blue-blind)
#001822
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #0c083d;
/* rgb */ color: rgb(12, 8, 61);
/* oklch */ color: oklch(19.0% 0.096 275.7);
Tailwind
colors: {
  custom: {
    50: '#534973',
    500: '#0c083d',
    950: '#000000',
  },
}
SCSS
$custom: #0c083d;
$custom-light: #534973;
$custom-dark: #000000;
JSON
{
  "hex": "#0c083d",
  "rgb": {
    "r": 12,
    "g": 8,
    "b": 61
  },
  "hsl": {
    "h": 244.528,
    "s": 76.812,
    "l": 13.529
  },
  "oklch": {
    "l": 0.19019,
    "c": 0.09555,
    "h": 275.7
  },
  "luminance": 0.00589
}

Semantic roles & 50–950 ramp

primary
#0C083D
secondary
#757C25
accent
#F334E5
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#030108
muted
#78777B

Preview Lab

Preview with #0C083D

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

Preview Lab → · Contrast checker → · Palette generator →

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