#080C3F#080C3F

#080C3F is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.7% C 0.095 H 270.5°. Best body text is #FFFFFF at 18.51:1 contrast (WCAG AA passes).

Color values

HEX#080C3F
RGBrgb(8, 12, 63)
HSLhsl(236, 77%, 14%)
HSVhsv(236, 87%, 25%)
CMYKcmyk(87.3%, 81%, 0%, 75.3%)
CIE-LABlab(6.08, 18.89, -32.44)
CIE-LCHlch(6.08, 37.54, 300.20°)
OKLaboklab(19.7% 0.0009 -0.0948)
OKLCHoklch(19.7% 0.095 270.5)
XYZxyz(1.1285, 0.6733, 4.7722)
Luminance0.0067 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080C3F #3F3B08
analogous
#08283F #080C3F #20083F
triadic
#080C3F #3F080C #0C3F08
tetradic
#080C3F #3F0828 #3F3B08 #083F20
square
#080C3F #3F0828 #3F3B08 #083F20
split-complementary
#080C3F #3F2008 #283F08
monochromatic
#03051B #03051B #080C3F #0F1675 #1621AC

Accessibility & contrast

On white

18.51
#080C3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #080C3F
18.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##080C3F#FFFFFF#000000##FFFFFF
##080C3F1.0018.511.1318.51
#FFFFFF18.511.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001641
Deuteranopia (green-blind)
#00113E
Tritanopia (blue-blind)
#001A24
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #080c3f;
/* rgb */ color: rgb(8, 12, 63);
/* oklch */ color: oklch(19.7% 0.095 270.5);
Tailwind
colors: {
  custom: {
    50: '#534b75',
    500: '#080c3f',
    950: '#000000',
  },
}
SCSS
$custom: #080c3f;
$custom-light: #534b75;
$custom-dark: #000000;
JSON
{
  "hex": "#080c3f",
  "rgb": {
    "r": 8,
    "g": 12,
    "b": 63
  },
  "hsl": {
    "h": 235.636,
    "s": 77.465,
    "l": 13.922
  },
  "oklch": {
    "l": 0.19696,
    "c": 0.09482,
    "h": 270.5
  },
  "luminance": 0.00673
}

Semantic roles & 50–950 ramp

primary
#080C3F
secondary
#7E7725
accent
#E634F4
background
#F5F4F7
surface
#E8E7ED
border
#C4C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #080C3F

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

Preview Lab → · Contrast checker → · Palette generator →

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