#30219F#30219F

#30219F is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.8% C 0.189 H 277.0°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#30219F
RGBrgb(48, 33, 159)
HSLhsl(247, 66%, 38%)
HSVhsv(247, 79%, 62%)
CMYKcmyk(69.8%, 79.2%, 0%, 37.6%)
CIE-LABlab(24.38, 45.24, -64.97)
CIE-LCHlch(24.38, 79.17, 304.85°)
OKLaboklab(36.81% 0.0231 -0.1878)
OKLCHoklch(36.81% 0.189 277)
XYZxyz(8.0188, 4.2186, 33.1858)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30219F #909F21
analogous
#21519F #30219F #6F219F
triadic
#30219F #9F3021 #219F30
tetradic
#30219F #9F2151 #909F21 #219F6F
square
#30219F #9F2151 #909F21 #219F6F
split-complementary
#30219F #9F6F21 #519F21
monochromatic
#110C3A #21166C #30219F #3F2CD2 #6C5DDD

Accessibility & contrast

On white

11.39
#30219F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#30219F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30219F
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30219F#FFFFFF#000000##FFFFFF
##30219F1.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA3
Deuteranopia (green-blind)
#00349D
Tritanopia (blue-blind)
#004760
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #30219f;
/* rgb */ color: rgb(48, 33, 159);
/* oklch */ color: oklch(36.8% 0.189 277.0);
Tailwind
colors: {
  custom: {
    50: '#7a60bd',
    500: '#30219f',
    950: '#000000',
  },
}
SCSS
$custom: #30219f;
$custom-light: #7a60bd;
$custom-dark: #000000;
JSON
{
  "hex": "#30219f",
  "rgb": {
    "r": 48,
    "g": 33,
    "b": 159
  },
  "hsl": {
    "h": 247.143,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.36808,
    "c": 0.18918,
    "h": 277
  },
  "luminance": 0.04219
}

Semantic roles & 50–950 ramp

primary
#30219F
secondary
#B5C25A
accent
#E93FD4
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #30219F

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

Preview Lab → · Contrast checker → · Palette generator →

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