#08083E#08083E

#08083E is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.8% C 0.098 H 271.8°. Best body text is #FFFFFF at 18.84:1 contrast (WCAG AA passes).

Color values

HEX#08083E
RGBrgb(8, 8, 62)
HSLhsl(240, 77%, 14%)
HSVhsv(240, 87%, 24%)
CMYKcmyk(87.1%, 87.1%, 0%, 75.7%)
CIE-LABlab(5.18, 20.30, -33.20)
CIE-LCHlch(5.18, 38.92, 301.44°)
OKLaboklab(18.84% 0.0032 -0.0982)
OKLCHoklch(18.84% 0.098 271.8)
XYZxyz(1.0562, 0.5730, 4.6114)
Luminance0.0057 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08083E #3E3E08
analogous
#08233E #08083E #23083E
triadic
#08083E #3E0808 #083E08
tetradic
#08083E #3E0823 #3E3E08 #083E23
square
#08083E #3E0823 #3E3E08 #083E23
split-complementary
#08083E #3E2308 #233E08
monochromatic
#03031B #03031B #08083E #0F0F74 #1616AA

Accessibility & contrast

On white

18.84
#08083E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#08083E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08083E
18.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08083E#FFFFFF#000000##FFFFFF
##08083E1.0018.841.1118.84
#FFFFFF18.841.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001440
Deuteranopia (green-blind)
#000F3D
Tritanopia (blue-blind)
#001822
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #08083e;
/* rgb */ color: rgb(8, 8, 62);
/* oklch */ color: oklch(18.8% 0.098 271.8);
Tailwind
colors: {
  custom: {
    50: '#524974',
    500: '#08083e',
    950: '#000000',
  },
}
SCSS
$custom: #08083e;
$custom-light: #524974;
$custom-dark: #000000;
JSON
{
  "hex": "#08083e",
  "rgb": {
    "r": 8,
    "g": 8,
    "b": 62
  },
  "hsl": {
    "h": 240,
    "s": 77.143,
    "l": 13.725
  },
  "oklch": {
    "l": 0.18841,
    "c": 0.09826,
    "h": 271.8
  },
  "luminance": 0.00573
}

Semantic roles & 50–950 ramp

primary
#08083E
secondary
#7D7D25
accent
#F434F4
background
#F5F4F7
surface
#E8E6ED
border
#C4C2C8
text
#030008
muted
#78777B

Preview Lab

Preview with #08083E

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

Preview Lab → · Contrast checker → · Palette generator →

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