#30219D#30219D

#30219D is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.6% C 0.187 H 277.3°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#30219D
RGBrgb(48, 33, 157)
HSLhsl(247, 65%, 37%)
HSVhsv(247, 79%, 62%)
CMYKcmyk(69.4%, 79%, 0%, 38.4%)
CIE-LABlab(24.16, 44.61, -64.12)
CIE-LCHlch(24.16, 78.11, 304.83°)
OKLaboklab(36.59% 0.0236 -0.1853)
OKLCHoklch(36.59% 0.187 277.3)
XYZxyz(7.8466, 4.1497, 32.2792)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30219D #8E9D21
analogous
#21509D #30219D #6E219D
triadic
#30219D #9D3021 #219D30
tetradic
#30219D #9D2150 #8E9D21 #219D6E
square
#30219D #9D2150 #8E9D21 #219D6E
split-complementary
#30219D #9D6E21 #509D21
monochromatic
#110C38 #21166A #30219D #3F2CD0 #6B5CDD

Accessibility & contrast

On white

11.48
#30219D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#30219D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30219D
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30219D#FFFFFF#000000##FFFFFF
##30219D1.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA0
Deuteranopia (green-blind)
#00349B
Tritanopia (blue-blind)
#00465E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #30219d;
/* rgb */ color: rgb(48, 33, 157);
/* oklch */ color: oklch(36.6% 0.187 277.3);
Tailwind
colors: {
  custom: {
    50: '#7960bb',
    500: '#30219d',
    950: '#000000',
  },
}
SCSS
$custom: #30219d;
$custom-light: #7960bb;
$custom-dark: #000000;
JSON
{
  "hex": "#30219d",
  "rgb": {
    "r": 48,
    "g": 33,
    "b": 157
  },
  "hsl": {
    "h": 247.258,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.36588,
    "c": 0.18677,
    "h": 277.3
  },
  "luminance": 0.0415
}

Semantic roles & 50–950 ramp

primary
#30219D
secondary
#B4C159
accent
#E840D4
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #30219D

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

Preview Lab → · Contrast checker → · Palette generator →

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