#0C083B#0C083B

#0C083B is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.8% C 0.093 H 276.2°. Best body text is #FFFFFF at 18.86:1 contrast (WCAG AA passes).

Color values

HEX#0C083B
RGBrgb(12, 8, 59)
HSLhsl(245, 76%, 13%)
HSVhsv(245, 86%, 23%)
CMYKcmyk(79.7%, 86.4%, 0%, 76.9%)
CIE-LABlab(5.13, 19.50, -31.11)
CIE-LCHlch(5.13, 36.72, 302.08°)
OKLaboklab(18.76% 0.0101 -0.0921)
OKLCHoklch(18.76% 0.093 276.2)
XYZxyz(1.0276, 0.5675, 4.1922)
Luminance0.0057 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C083B #373B08
analogous
#081D3B #0C083B #25083B
triadic
#0C083B #3B0C08 #083B0C
tetradic
#0C083B #3B081D #373B08 #083B25
square
#0C083B #3B081D #373B08 #083B25
split-complementary
#0C083B #3B2508 #1D3B08
monochromatic
#05041B #05041B #0C083B #170F71 #2217A7

Accessibility & contrast

On white

18.86
#0C083B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#0C083B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C083B
18.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C083B#FFFFFF#000000##FFFFFF
##0C083B1.0018.861.1118.86
#FFFFFF18.861.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00133C
Deuteranopia (green-blind)
#000F3A
Tritanopia (blue-blind)
#001721
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #0c083b;
/* rgb */ color: rgb(12, 8, 59);
/* oklch */ color: oklch(18.8% 0.093 276.2);
Tailwind
colors: {
  custom: {
    50: '#534971',
    500: '#0c083b',
    950: '#000000',
  },
}
SCSS
$custom: #0c083b;
$custom-light: #534971;
$custom-dark: #000000;
JSON
{
  "hex": "#0c083b",
  "rgb": {
    "r": 12,
    "g": 8,
    "b": 59
  },
  "hsl": {
    "h": 244.706,
    "s": 76.119,
    "l": 13.137
  },
  "oklch": {
    "l": 0.18764,
    "c": 0.09264,
    "h": 276.2
  },
  "luminance": 0.00568
}

Semantic roles & 50–950 ramp

primary
#0C083B
secondary
#737A25
accent
#F335E4
background
#F5F4F6
surface
#E8E6EC
border
#C4C2C7
text
#030108
muted
#78777B

Preview Lab

Preview with #0C083B

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

Preview Lab → · Contrast checker → · Palette generator →

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