#30219B#30219B

#30219B is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.4% C 0.184 H 277.5°. Best body text is #FFFFFF at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#30219B
RGBrgb(48, 33, 155)
HSLhsl(247, 65%, 37%)
HSVhsv(247, 79%, 61%)
CMYKcmyk(69%, 78.7%, 0%, 39.2%)
CIE-LABlab(23.94, 43.98, -63.25)
CIE-LCHlch(23.94, 77.04, 304.81°)
OKLaboklab(36.37% 0.0242 -0.1828)
OKLCHoklch(36.37% 0.184 277.5)
XYZxyz(7.6773, 4.0820, 31.3873)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30219B #8C9B21
analogous
#214F9B #30219B #6D219B
triadic
#30219B #9B3021 #219B30
tetradic
#30219B #9B214F #8C9B21 #219B6D
square
#30219B #9B214F #8C9B21 #219B6D
split-complementary
#30219B #9B6D21 #4F9B21
monochromatic
#110C36 #201669 #30219B #402CCD #6A5ADC

Accessibility & contrast

On white

11.56
#30219B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#30219B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30219B
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30219B#FFFFFF#000000##FFFFFF
##30219B1.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #30219b;
/* rgb */ color: rgb(48, 33, 155);
/* oklch */ color: oklch(36.4% 0.184 277.5);
Tailwind
colors: {
  custom: {
    50: '#795fba',
    500: '#30219b',
    950: '#000000',
  },
}
SCSS
$custom: #30219b;
$custom-light: #795fba;
$custom-dark: #000000;
JSON
{
  "hex": "#30219b",
  "rgb": {
    "r": 48,
    "g": 33,
    "b": 155
  },
  "hsl": {
    "h": 247.377,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.3637,
    "c": 0.18435,
    "h": 277.5
  },
  "luminance": 0.04083
}

Semantic roles & 50–950 ramp

primary
#30219B
secondary
#B3C058
accent
#E840D3
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #30219B

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

Preview Lab → · Contrast checker → · Palette generator →

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