#08043B#08043B

#08043B is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.6% C 0.099 H 273.6°. Best body text is #FFFFFF at 19.25:1 contrast (WCAG AA passes).

Color values

HEX#08043B
RGBrgb(8, 4, 59)
HSLhsl(244, 87%, 12%)
HSVhsv(244, 93%, 23%)
CMYKcmyk(86.4%, 93.2%, 0%, 76.9%)
CIE-LABlab(4.10, 20.40, -32.78)
CIE-LCHlch(4.10, 38.61, 301.89°)
OKLaboklab(17.64% 0.0062 -0.0993)
OKLCHoklch(17.64% 0.099 273.6)
XYZxyz(0.9327, 0.4541, 4.1753)
Luminance0.0045 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08043B #373B04
analogous
#041B3B #08043B #24043B
triadic
#08043B #3B0804 #043B08
tetradic
#08043B #3B041B #373B04 #043B24
square
#08043B #3B041B #373B04 #043B24
split-complementary
#08043B #3B2404 #1B3B04
monochromatic
#04021D #04021D #08043B #100874 #180CAE

Accessibility & contrast

On white

19.25
#08043B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#08043B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08043B
19.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08043B#FFFFFF#000000##FFFFFF
##08043B1.0019.251.0919.25
#FFFFFF19.251.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00113D
Deuteranopia (green-blind)
#000C3A
Tritanopia (blue-blind)
#001520
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #08043b;
/* rgb */ color: rgb(8, 4, 59);
/* oklch */ color: oklch(17.6% 0.099 273.6);
Tailwind
colors: {
  custom: {
    50: '#514772',
    500: '#08043b',
    950: '#000000',
  },
}
SCSS
$custom: #08043b;
$custom-light: #514772;
$custom-dark: #000000;
JSON
{
  "hex": "#08043b",
  "rgb": {
    "r": 8,
    "g": 4,
    "b": 59
  },
  "hsl": {
    "h": 244.364,
    "s": 87.302,
    "l": 12.353
  },
  "oklch": {
    "l": 0.17641,
    "c": 0.09945,
    "h": 273.6
  },
  "luminance": 0.00454
}

Semantic roles & 50–950 ramp

primary
#08043B
secondary
#767D1E
accent
#FD2AEE
background
#F4F4F6
surface
#E7E6EC
border
#C3C2C7
text
#020008
muted
#78777B

Preview Lab

Preview with #08043B

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

Preview Lab → · Contrast checker → · Palette generator →

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