#080C3B#080C3B

#080C3B is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.2% C 0.089 H 270.9°. Best body text is #FFFFFF at 18.65:1 contrast (WCAG AA passes).

Color values

HEX#080C3B
RGBrgb(8, 12, 59)
HSLhsl(235, 76%, 13%)
HSVhsv(235, 86%, 23%)
CMYKcmyk(86.4%, 79.7%, 0%, 76.9%)
CIE-LABlab(5.69, 16.81, -30.20)
CIE-LCHlch(5.69, 34.57, 299.11°)
OKLaboklab(19.21% 0.0014 -0.0887)
OKLCHoklch(19.21% 0.089 270.9)
XYZxyz(1.0208, 0.6302, 4.2047)
Luminance0.0063 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080C3B #3B3708
analogous
#08253B #080C3B #1D083B
triadic
#080C3B #3B080C #0C3B08
tetradic
#080C3B #3B0825 #3B3708 #083B1D
square
#080C3B #3B0825 #3B3708 #083B1D
split-complementary
#080C3B #3B1D08 #253B08
monochromatic
#04051B #04051B #080C3B #0F1771 #1722A7

Accessibility & contrast

On white

18.65
#080C3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#080C3B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #080C3B
18.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##080C3B#FFFFFF#000000##FFFFFF
##080C3B1.0018.651.1318.65
#FFFFFF18.651.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00153C
Deuteranopia (green-blind)
#00103A
Tritanopia (blue-blind)
#001922
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #080c3b;
/* rgb */ color: rgb(8, 12, 59);
/* oklch */ color: oklch(19.2% 0.089 270.9);
Tailwind
colors: {
  custom: {
    50: '#514b71',
    500: '#080c3b',
    950: '#000000',
  },
}
SCSS
$custom: #080c3b;
$custom-light: #514b71;
$custom-dark: #000000;
JSON
{
  "hex": "#080c3b",
  "rgb": {
    "r": 8,
    "g": 12,
    "b": 59
  },
  "hsl": {
    "h": 235.294,
    "s": 76.119,
    "l": 13.137
  },
  "oklch": {
    "l": 0.19208,
    "c": 0.08873,
    "h": 270.9
  },
  "luminance": 0.0063
}

Semantic roles & 50–950 ramp

primary
#080C3B
secondary
#7A7325
accent
#E435F3
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020108
muted
#78777B

Preview Lab

Preview with #080C3B

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

Preview Lab → · Contrast checker → · Palette generator →

#080C3B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva