#080A3C#080A3C

#080A3C is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.9% C 0.093 H 271.5°. Best body text is #FFFFFF at 18.77:1 contrast (WCAG AA passes).

Color values

HEX#080A3C
RGBrgb(8, 10, 60)
HSLhsl(238, 76%, 13%)
HSVhsv(238, 87%, 24%)
CMYKcmyk(86.7%, 83.3%, 0%, 76.5%)
CIE-LABlab(5.37, 18.31, -31.44)
CIE-LCHlch(5.37, 36.38, 300.21°)
OKLaboklab(18.95% 0.0025 -0.0928)
OKLCHoklch(18.95% 0.093 271.5)
XYZxyz(1.0240, 0.5948, 4.3349)
Luminance0.0060 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080A3C #3C3A08
analogous
#08243C #080A3C #20083C
triadic
#080A3C #3C080A #0A3C08
tetradic
#080A3C #3C0824 #3C3A08 #083C20
square
#080A3C #3C0824 #3C3A08 #083C20
split-complementary
#080A3C #3C2008 #243C08
monochromatic
#04051B #04051B #080A3C #0F1372 #161CA8

Accessibility & contrast

On white

18.77
#080A3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#080A3C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #080A3C
18.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##080A3C#FFFFFF#000000##FFFFFF
##080A3C1.0018.771.1218.77
#FFFFFF18.771.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #080a3c;
/* rgb */ color: rgb(8, 10, 60);
/* oklch */ color: oklch(18.9% 0.093 271.5);
Tailwind
colors: {
  custom: {
    50: '#514a72',
    500: '#080a3c',
    950: '#000000',
  },
}
SCSS
$custom: #080a3c;
$custom-light: #514a72;
$custom-dark: #000000;
JSON
{
  "hex": "#080a3c",
  "rgb": {
    "r": 8,
    "g": 10,
    "b": 60
  },
  "hsl": {
    "h": 237.692,
    "s": 76.471,
    "l": 13.333
  },
  "oklch": {
    "l": 0.1895,
    "c": 0.09282,
    "h": 271.5
  },
  "luminance": 0.00595
}

Semantic roles & 50–950 ramp

primary
#080A3C
secondary
#7B7725
accent
#EC35F3
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#020108
muted
#78777B

Preview Lab

Preview with #080A3C

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

Preview Lab → · Contrast checker → · Palette generator →

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