#08083F#08083F

#08083F is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.0% C 0.100 H 271.7°. Best body text is #FFFFFF at 18.80:1 contrast (WCAG AA passes).

Color values

HEX#08083F
RGBrgb(8, 8, 63)
HSLhsl(240, 77%, 14%)
HSVhsv(240, 87%, 25%)
CMYKcmyk(87.3%, 87.3%, 0%, 75.3%)
CIE-LABlab(5.28, 20.84, -33.76)
CIE-LCHlch(5.28, 39.67, 301.68°)
OKLaboklab(18.97% 0.0029 -0.0997)
OKLCHoklch(18.97% 0.1 271.7)
XYZxyz(1.0839, 0.5841, 4.7573)
Luminance0.0058 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08083F #3F3F08
analogous
#08243F #08083F #24083F
triadic
#08083F #3F0808 #083F08
tetradic
#08083F #3F0824 #3F3F08 #083F24
square
#08083F #3F0824 #3F3F08 #083F24
split-complementary
#08083F #3F2408 #243F08
monochromatic
#03031B #03031B #08083F #0F0F75 #1616AC

Accessibility & contrast

On white

18.80
#08083F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#08083F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08083F
18.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08083F#FFFFFF#000000##FFFFFF
##08083F1.0018.801.1218.80
#FFFFFF18.801.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001441
Deuteranopia (green-blind)
#000F3E
Tritanopia (blue-blind)
#001823
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #08083f;
/* rgb */ color: rgb(8, 8, 63);
/* oklch */ color: oklch(19.0% 0.100 271.7);
Tailwind
colors: {
  custom: {
    50: '#534975',
    500: '#08083f',
    950: '#000000',
  },
}
SCSS
$custom: #08083f;
$custom-light: #534975;
$custom-dark: #000000;
JSON
{
  "hex": "#08083f",
  "rgb": {
    "r": 8,
    "g": 8,
    "b": 63
  },
  "hsl": {
    "h": 240,
    "s": 77.465,
    "l": 13.922
  },
  "oklch": {
    "l": 0.18974,
    "c": 0.0997,
    "h": 271.7
  },
  "luminance": 0.00584
}

Semantic roles & 50–950 ramp

primary
#08083F
secondary
#7E7E25
accent
#F434F4
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#030008
muted
#78777B

Preview Lab

Preview with #08083F

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

Preview Lab → · Contrast checker → · Palette generator →

#08083F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva