#30208B#30208B

#30208B is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.5% C 0.166 H 280.0°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#30208B
RGBrgb(48, 32, 139)
HSLhsl(249, 63%, 34%)
HSVhsv(249, 77%, 55%)
CMYKcmyk(65.5%, 77%, 0%, 45.5%)
CIE-LABlab(22.03, 39.41, -56.51)
CIE-LCHlch(22.03, 68.89, 304.90°)
OKLaboklab(34.52% 0.0289 -0.1631)
OKLCHoklch(34.52% 0.166 280)
XYZxyz(6.3942, 3.5250, 24.7645)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30208B #7B8B20
analogous
#20458B #30208B #65208B
triadic
#30208B #8B3020 #208B30
tetradic
#30208B #8B2045 #7B8B20 #208B65
square
#30208B #8B2045 #7B8B20 #208B65
split-complementary
#30208B #8B6520 #458B20
monochromatic
#0E0928 #1F1559 #30208B #412BBD #634FD6

Accessibility & contrast

On white

12.32
#30208B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30208B
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30208B#FFFFFF#000000##FFFFFF
##30208B1.0012.321.7012.32
#FFFFFF12.321.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398E
Deuteranopia (green-blind)
#003189
Tritanopia (blue-blind)
#003F54
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #30208b;
/* rgb */ color: rgb(48, 32, 139);
/* oklch */ color: oklch(34.5% 0.166 280.0);
Tailwind
colors: {
  custom: {
    50: '#755eae',
    500: '#30208b',
    950: '#000000',
  },
}
SCSS
$custom: #30208b;
$custom-light: #755eae;
$custom-dark: #000000;
JSON
{
  "hex": "#30208b",
  "rgb": {
    "r": 48,
    "g": 32,
    "b": 139
  },
  "hsl": {
    "h": 248.972,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.3452,
    "c": 0.16563,
    "h": 280
  },
  "luminance": 0.03525
}

Semantic roles & 50–950 ramp

primary
#30208B
secondary
#A9BA4D
accent
#E642CD
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #30208B

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

Preview Lab → · Contrast checker → · Palette generator →

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