#30208C#30208C

#30208C is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.6% C 0.167 H 279.9°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#30208C
RGBrgb(48, 32, 140)
HSLhsl(249, 63%, 34%)
HSVhsv(249, 77%, 55%)
CMYKcmyk(65.7%, 77.1%, 0%, 45.1%)
CIE-LABlab(22.14, 39.73, -56.96)
CIE-LCHlch(22.14, 69.45, 304.90°)
OKLaboklab(34.63% 0.0286 -0.1644)
OKLCHoklch(34.63% 0.167 279.9)
XYZxyz(6.4676, 3.5543, 25.1511)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30208C #7C8C20
analogous
#20468C #30208C #66208C
triadic
#30208C #8C3020 #208C30
tetradic
#30208C #8C2046 #7C8C20 #208C66
square
#30208C #8C2046 #7C8C20 #208C66
split-complementary
#30208C #8C6620 #468C20
monochromatic
#0E0928 #1F155A #30208C #412BBE #6450D7

Accessibility & contrast

On white

12.27
#30208C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#30208C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30208C
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30208C#FFFFFF#000000##FFFFFF
##30208C1.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398F
Deuteranopia (green-blind)
#00318A
Tritanopia (blue-blind)
#003F55
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #30208c;
/* rgb */ color: rgb(48, 32, 140);
/* oklch */ color: oklch(34.6% 0.167 279.9);
Tailwind
colors: {
  custom: {
    50: '#755eaf',
    500: '#30208c',
    950: '#000000',
  },
}
SCSS
$custom: #30208c;
$custom-light: #755eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#30208c",
  "rgb": {
    "r": 48,
    "g": 32,
    "b": 140
  },
  "hsl": {
    "h": 248.889,
    "s": 62.791,
    "l": 33.725
  },
  "oklch": {
    "l": 0.34625,
    "c": 0.16687,
    "h": 279.9
  },
  "luminance": 0.03555
}

Semantic roles & 50–950 ramp

primary
#30208C
secondary
#AABA4E
accent
#E642CE
background
#F7F5FA
surface
#EEE9F5
border
#C9C5CF
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #30208C

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

Preview Lab → · Contrast checker → · Palette generator →

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