#08033B#08033B

#08033B is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 17.4% C 0.101 H 273.8°. Best body text is #FFFFFF at 19.33:1 contrast (WCAG AA passes).

Color values

HEX#08033B
RGBrgb(8, 3, 59)
HSLhsl(245, 90%, 12%)
HSVhsv(245, 95%, 23%)
CMYKcmyk(86.4%, 94.9%, 0%, 76.9%)
CIE-LABlab(3.91, 20.83, -33.10)
CIE-LCHlch(3.91, 39.11, 302.18°)
OKLaboklab(17.43% 0.0068 -0.1007)
OKLCHoklch(17.43% 0.101 273.8)
XYZxyz(0.9219, 0.4324, 4.1717)
Luminance0.0043 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08033B #363B03
analogous
#031A3B #08033B #24033B
triadic
#08033B #3B0803 #033B08
tetradic
#08033B #3B031A #363B03 #033B24
square
#08033B #3B031A #363B03 #033B24
split-complementary
#08033B #3B2403 #1A3B03
monochromatic
#04011D #04011D #08033B #100675 #1809AF

Accessibility & contrast

On white

19.33
#08033B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08033B
19.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08033B#FFFFFF#000000##FFFFFF
##08033B1.0019.331.0919.33
#FFFFFF19.331.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00103D
Deuteranopia (green-blind)
#000B3A
Tritanopia (blue-blind)
#00141F
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #08033b;
/* rgb */ color: rgb(8, 3, 59);
/* oklch */ color: oklch(17.4% 0.101 273.8);
Tailwind
colors: {
  custom: {
    50: '#514772',
    500: '#08033b',
    950: '#000000',
  },
}
SCSS
$custom: #08033b;
$custom-light: #514772;
$custom-dark: #000000;
JSON
{
  "hex": "#08033b",
  "rgb": {
    "r": 8,
    "g": 3,
    "b": 59
  },
  "hsl": {
    "h": 245.357,
    "s": 90.323,
    "l": 12.157
  },
  "oklch": {
    "l": 0.17427,
    "c": 0.10094,
    "h": 273.8
  },
  "luminance": 0.00433
}

Semantic roles & 50–950 ramp

primary
#08033B
secondary
#757E1C
accent
#FF29EC
background
#F4F3F6
surface
#E7E5EC
border
#C3C1C7
text
#020008
muted
#78777B

Preview Lab

Preview with #08033B

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

Preview Lab → · Contrast checker → · Palette generator →

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