#08083B#08083B

#08083B is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.4% C 0.094 H 272.4°. Best body text is #FFFFFF at 18.95:1 contrast (WCAG AA passes).

Color values

HEX#08083B
RGBrgb(8, 8, 59)
HSLhsl(240, 76%, 13%)
HSVhsv(240, 86%, 23%)
CMYKcmyk(86.4%, 86.4%, 0%, 76.9%)
CIE-LABlab(4.89, 18.65, -31.51)
CIE-LCHlch(4.89, 36.62, 300.62°)
OKLaboklab(18.45% 0.0039 -0.0938)
OKLCHoklch(18.45% 0.094 272.4)
XYZxyz(0.9761, 0.5410, 4.1898)
Luminance0.0054 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08083B #3B3B08
analogous
#08213B #08083B #21083B
triadic
#08083B #3B0808 #083B08
tetradic
#08083B #3B0821 #3B3B08 #083B21
square
#08083B #3B0821 #3B3B08 #083B21
split-complementary
#08083B #3B2108 #213B08
monochromatic
#04041B #04041B #08083B #0F0F71 #1717A7

Accessibility & contrast

On white

18.95
#08083B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08083B
18.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08083B#FFFFFF#000000##FFFFFF
##08083B1.0018.951.1118.95
#FFFFFF18.951.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00133C
Deuteranopia (green-blind)
#000E3A
Tritanopia (blue-blind)
#001721
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #08083b;
/* rgb */ color: rgb(8, 8, 59);
/* oklch */ color: oklch(18.4% 0.094 272.4);
Tailwind
colors: {
  custom: {
    50: '#514972',
    500: '#08083b',
    950: '#000000',
  },
}
SCSS
$custom: #08083b;
$custom-light: #514972;
$custom-dark: #000000;
JSON
{
  "hex": "#08083b",
  "rgb": {
    "r": 8,
    "g": 8,
    "b": 59
  },
  "hsl": {
    "h": 240,
    "s": 76.119,
    "l": 13.137
  },
  "oklch": {
    "l": 0.18447,
    "c": 0.09389,
    "h": 272.4
  },
  "luminance": 0.00541
}

Semantic roles & 50–950 ramp

primary
#08083B
secondary
#7A7A25
accent
#F335F3
background
#F4F4F6
surface
#E7E6EC
border
#C3C2C7
text
#020108
muted
#78777B

Preview Lab

Preview with #08083B

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

Preview Lab → · Contrast checker → · Palette generator →

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