#080C37#080C37

#080C37 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.7% C 0.082 H 271.3°. Best body text is #FFFFFF at 18.78:1 contrast (WCAG AA passes).

Color values

HEX#080C37
RGBrgb(8, 12, 55)
HSLhsl(235, 75%, 12%)
HSVhsv(235, 85%, 22%)
CMYKcmyk(85.5%, 78.2%, 0%, 78.4%)
CIE-LABlab(5.33, 14.65, -27.88)
CIE-LCHlch(5.33, 31.49, 297.72°)
OKLaboklab(18.73% 0.0019 -0.0824)
OKLCHoklch(18.73% 0.082 271.3)
XYZxyz(0.9210, 0.5903, 3.6791)
Luminance0.0059 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080C37 #373308
analogous
#082337 #080C37 #1C0837
triadic
#080C37 #37080C #0C3708
tetradic
#080C37 #370823 #373308 #08371C
square
#080C37 #370823 #373308 #08371C
split-complementary
#080C37 #371C08 #233708
monochromatic
#04061B #04061B #080C37 #10186C #1823A2

Accessibility & contrast

On white

18.78
#080C37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #080C37
18.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##080C37#FFFFFF#000000##FFFFFF
##080C371.0018.781.1218.78
#FFFFFF18.781.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001438
Deuteranopia (green-blind)
#000F36
Tritanopia (blue-blind)
#001820
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #080c37;
/* rgb */ color: rgb(8, 12, 55);
/* oklch */ color: oklch(18.7% 0.082 271.3);
Tailwind
colors: {
  custom: {
    50: '#4f4b6e',
    500: '#080c37',
    950: '#000000',
  },
}
SCSS
$custom: #080c37;
$custom-light: #4f4b6e;
$custom-dark: #000000;
JSON
{
  "hex": "#080c37",
  "rgb": {
    "r": 8,
    "g": 12,
    "b": 55
  },
  "hsl": {
    "h": 234.894,
    "s": 74.603,
    "l": 12.353
  },
  "oklch": {
    "l": 0.18732,
    "c": 0.08247,
    "h": 271.3
  },
  "luminance": 0.0059
}

Semantic roles & 50–950 ramp

primary
#080C37
secondary
#766F25
accent
#E137F1
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #080C37

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

Preview Lab → · Contrast checker → · Palette generator →

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