#30208F#30208F

#30208F is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.9% C 0.171 H 279.4°. Best body text is #FFFFFF at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#30208F
RGBrgb(48, 32, 143)
HSLhsl(249, 63%, 34%)
HSVhsv(249, 78%, 56%)
CMYKcmyk(66.4%, 77.6%, 0%, 43.9%)
CIE-LABlab(22.46, 40.69, -58.30)
CIE-LCHlch(22.46, 71.10, 304.92°)
OKLaboklab(34.94% 0.0279 -0.1683)
OKLCHoklch(34.94% 0.171 279.4)
XYZxyz(6.6918, 3.6440, 26.3320)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30208F #7F8F20
analogous
#20478F #30208F #68208F
triadic
#30208F #8F3020 #208F30
tetradic
#30208F #8F2047 #7F8F20 #208F68
square
#30208F #8F2047 #7F8F20 #208F68
split-complementary
#30208F #8F6820 #478F20
monochromatic
#0E0A2B #1F155D #30208F #412BC1 #6551D8

Accessibility & contrast

On white

12.15
#30208F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#30208F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30208F
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30208F#FFFFFF#000000##FFFFFF
##30208F1.0012.151.7312.15
#FFFFFF12.151.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A92
Deuteranopia (green-blind)
#00318D
Tritanopia (blue-blind)
#004056
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #30208f;
/* rgb */ color: rgb(48, 32, 143);
/* oklch */ color: oklch(34.9% 0.171 279.4);
Tailwind
colors: {
  custom: {
    50: '#765eb1',
    500: '#30208f',
    950: '#000000',
  },
}
SCSS
$custom: #30208f;
$custom-light: #765eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#30208f",
  "rgb": {
    "r": 48,
    "g": 32,
    "b": 143
  },
  "hsl": {
    "h": 248.649,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.34944,
    "c": 0.17061,
    "h": 279.4
  },
  "luminance": 0.03645
}

Semantic roles & 50–950 ramp

primary
#30208F
secondary
#ACBB4F
accent
#E641CF
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #30208F

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

Preview Lab → · Contrast checker → · Palette generator →

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