#30219A#30219A

#30219A is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.3% C 0.183 H 277.7°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#30219A
RGBrgb(48, 33, 154)
HSLhsl(247, 65%, 37%)
HSVhsv(247, 79%, 60%)
CMYKcmyk(68.8%, 78.6%, 0%, 39.6%)
CIE-LABlab(23.83, 43.66, -62.82)
CIE-LCHlch(23.83, 76.50, 304.80°)
OKLaboklab(36.26% 0.0244 -0.1815)
OKLCHoklch(36.26% 0.183 277.7)
XYZxyz(7.5936, 4.0485, 30.9468)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30219A #8B9A21
analogous
#214F9A #30219A #6D219A
triadic
#30219A #9A3021 #219A30
tetradic
#30219A #9A214F #8B9A21 #219A6D
square
#30219A #9A214F #8B9A21 #219A6D
split-complementary
#30219A #9A6D21 #4F9A21
monochromatic
#110B35 #201668 #30219A #402CCC #6A5ADC

Accessibility & contrast

On white

11.60
#30219A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#30219A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30219A
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30219A#FFFFFF#000000##FFFFFF
##30219A1.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9D
Deuteranopia (green-blind)
#003498
Tritanopia (blue-blind)
#00455D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #30219a;
/* rgb */ color: rgb(48, 33, 154);
/* oklch */ color: oklch(36.3% 0.183 277.7);
Tailwind
colors: {
  custom: {
    50: '#785fb9',
    500: '#30219a',
    950: '#000000',
  },
}
SCSS
$custom: #30219a;
$custom-light: #785fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#30219a",
  "rgb": {
    "r": 48,
    "g": 33,
    "b": 154
  },
  "hsl": {
    "h": 247.438,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36261,
    "c": 0.18315,
    "h": 277.7
  },
  "luminance": 0.04049
}

Semantic roles & 50–950 ramp

primary
#30219A
secondary
#B3C057
accent
#E840D3
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #30219A

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

Preview Lab → · Contrast checker → · Palette generator →

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