#30208D#30208D

#30208D is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.7% C 0.168 H 279.7°. Best body text is #FFFFFF at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#30208D
RGBrgb(48, 32, 141)
HSLhsl(249, 63%, 34%)
HSVhsv(249, 77%, 55%)
CMYKcmyk(66%, 77.3%, 0%, 44.7%)
CIE-LABlab(22.25, 40.05, -57.41)
CIE-LCHlch(22.25, 70.00, 304.90°)
OKLaboklab(34.73% 0.0284 -0.1657)
OKLCHoklch(34.73% 0.168 279.7)
XYZxyz(6.5416, 3.5840, 25.5412)
Luminance0.0358 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30208D #7D8D20
analogous
#20478D #30208D #67208D
triadic
#30208D #8D3020 #208D30
tetradic
#30208D #8D2047 #7D8D20 #208D67
square
#30208D #8D2047 #7D8D20 #208D67
split-complementary
#30208D #8D6720 #478D20
monochromatic
#0E0929 #1F155B #30208D #412BBF #6450D7

Accessibility & contrast

On white

12.23
#30208D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#30208D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30208D
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30208D#FFFFFF#000000##FFFFFF
##30208D1.0012.231.7212.23
#FFFFFF12.231.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003990
Deuteranopia (green-blind)
#00318B
Tritanopia (blue-blind)
#003F55
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #30208d;
/* rgb */ color: rgb(48, 32, 141);
/* oklch */ color: oklch(34.7% 0.168 279.7);
Tailwind
colors: {
  custom: {
    50: '#765eaf',
    500: '#30208d',
    950: '#000000',
  },
}
SCSS
$custom: #30208d;
$custom-light: #765eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#30208d",
  "rgb": {
    "r": 48,
    "g": 32,
    "b": 141
  },
  "hsl": {
    "h": 248.807,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.34731,
    "c": 0.16812,
    "h": 279.7
  },
  "luminance": 0.03584
}

Semantic roles & 50–950 ramp

primary
#30208D
secondary
#ABBA4E
accent
#E642CE
background
#F7F5FA
surface
#EEE9F5
border
#C9C5CF
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #30208D

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

Preview Lab → · Contrast checker → · Palette generator →

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