#30219E#30219E

#30219E is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.7% C 0.188 H 277.1°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#30219E
RGBrgb(48, 33, 158)
HSLhsl(247, 65%, 37%)
HSVhsv(247, 79%, 62%)
CMYKcmyk(69.6%, 79.1%, 0%, 38%)
CIE-LABlab(24.27, 44.92, -64.54)
CIE-LCHlch(24.27, 78.64, 304.84°)
OKLaboklab(36.7% 0.0234 -0.1865)
OKLCHoklch(36.7% 0.188 277.1)
XYZxyz(7.9323, 4.1840, 32.7307)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30219E #8F9E21
analogous
#21519E #30219E #6F219E
triadic
#30219E #9E3021 #219E30
tetradic
#30219E #9E2151 #8F9E21 #219E6F
square
#30219E #9E2151 #8F9E21 #219E6F
split-complementary
#30219E #9E6F21 #519E21
monochromatic
#110C39 #21166B #30219E #3F2CD1 #6C5CDD

Accessibility & contrast

On white

11.43
#30219E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30219E
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30219E#FFFFFF#000000##FFFFFF
##30219E1.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA1
Deuteranopia (green-blind)
#00349C
Tritanopia (blue-blind)
#00475F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #30219e;
/* rgb */ color: rgb(48, 33, 158);
/* oklch */ color: oklch(36.7% 0.188 277.1);
Tailwind
colors: {
  custom: {
    50: '#7960bc',
    500: '#30219e',
    950: '#000000',
  },
}
SCSS
$custom: #30219e;
$custom-light: #7960bc;
$custom-dark: #000000;
JSON
{
  "hex": "#30219e",
  "rgb": {
    "r": 48,
    "g": 33,
    "b": 158
  },
  "hsl": {
    "h": 247.2,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.36698,
    "c": 0.18798,
    "h": 277.1
  },
  "luminance": 0.04185
}

Semantic roles & 50–950 ramp

primary
#30219E
secondary
#B5C159
accent
#E83FD4
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #30219E

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

Preview Lab → · Contrast checker → · Palette generator →

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