#30208A#30208A

#30208A is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.4% C 0.164 H 280.2°. Best body text is #FFFFFF at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#30208A
RGBrgb(48, 32, 138)
HSLhsl(249, 62%, 33%)
HSVhsv(249, 77%, 54%)
CMYKcmyk(65.2%, 76.8%, 0%, 45.9%)
CIE-LABlab(21.93, 39.09, -56.05)
CIE-LCHlch(21.93, 68.34, 304.89°)
OKLaboklab(34.41% 0.0291 -0.1618)
OKLCHoklch(34.41% 0.164 280.2)
XYZxyz(6.3214, 3.4959, 24.3815)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30208A #7A8A20
analogous
#20458A #30208A #65208A
triadic
#30208A #8A3020 #208A30
tetradic
#30208A #8A2045 #7A8A20 #208A65
square
#30208A #8A2045 #7A8A20 #208A65
split-complementary
#30208A #8A6520 #458A20
monochromatic
#0D0927 #1F1458 #30208A #412CBC #634ED6

Accessibility & contrast

On white

12.36
#30208A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#30208A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30208A
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30208A#FFFFFF#000000##FFFFFF
##30208A1.0012.361.7012.36
#FFFFFF12.361.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388D
Deuteranopia (green-blind)
#003088
Tritanopia (blue-blind)
#003E53
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #30208a;
/* rgb */ color: rgb(48, 32, 138);
/* oklch */ color: oklch(34.4% 0.164 280.2);
Tailwind
colors: {
  custom: {
    50: '#755ead',
    500: '#30208a',
    950: '#000000',
  },
}
SCSS
$custom: #30208a;
$custom-light: #755ead;
$custom-dark: #000000;
JSON
{
  "hex": "#30208a",
  "rgb": {
    "r": 48,
    "g": 32,
    "b": 138
  },
  "hsl": {
    "h": 249.057,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.34414,
    "c": 0.16437,
    "h": 280.2
  },
  "luminance": 0.03496
}

Semantic roles & 50–950 ramp

primary
#30208A
secondary
#A9B94D
accent
#E542CD
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #30208A

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

Preview Lab → · Contrast checker → · Palette generator →

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