#08033A#08033A

#08033A is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 17.3% C 0.100 H 274.1°. Best body text is #FFFFFF at 19.37:1 contrast (WCAG AA passes).

Color values

HEX#08033A
RGBrgb(8, 3, 58)
HSLhsl(245, 90%, 12%)
HSVhsv(245, 95%, 23%)
CMYKcmyk(86.2%, 94.8%, 0%, 77.3%)
CIE-LABlab(3.81, 20.23, -32.53)
CIE-LCHlch(3.81, 38.31, 301.88°)
OKLaboklab(17.28% 0.0071 -0.0993)
OKLCHoklch(17.28% 0.1 274.1)
XYZxyz(0.8962, 0.4221, 4.0364)
Luminance0.0042 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08033A #353A03
analogous
#031A3A #08033A #24033A
triadic
#08033A #3A0803 #033A08
tetradic
#08033A #3A031A #353A03 #033A24
square
#08033A #3A031A #353A03 #033A24
split-complementary
#08033A #3A2403 #1A3A03
monochromatic
#04021D #04021D #08033A #100674 #1809AE

Accessibility & contrast

On white

19.37
#08033A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#08033A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08033A
19.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08033A#FFFFFF#000000##FFFFFF
##08033A1.0019.371.0819.37
#FFFFFF19.371.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #08033a;
/* rgb */ color: rgb(8, 3, 58);
/* oklch */ color: oklch(17.3% 0.100 274.1);
Tailwind
colors: {
  custom: {
    50: '#504771',
    500: '#08033a',
    950: '#000000',
  },
}
SCSS
$custom: #08033a;
$custom-light: #504771;
$custom-dark: #000000;
JSON
{
  "hex": "#08033a",
  "rgb": {
    "r": 8,
    "g": 3,
    "b": 58
  },
  "hsl": {
    "h": 245.455,
    "s": 90.164,
    "l": 11.961
  },
  "oklch": {
    "l": 0.17281,
    "c": 0.09958,
    "h": 274.1
  },
  "luminance": 0.00422
}

Semantic roles & 50–950 ramp

primary
#08033A
secondary
#747D1C
accent
#FF29EC
background
#F4F3F6
surface
#E7E5EC
border
#C3C1C7
text
#020008
muted
#78777B

Preview Lab

Preview with #08033A

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

Preview Lab → · Contrast checker → · Palette generator →

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