#30219C#30219C

#30219C is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.5% C 0.186 H 277.4°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#30219C
RGBrgb(48, 33, 156)
HSLhsl(247, 65%, 37%)
HSVhsv(247, 79%, 61%)
CMYKcmyk(69.2%, 78.8%, 0%, 38.8%)
CIE-LABlab(24.05, 44.29, -63.69)
CIE-LCHlch(24.05, 77.57, 304.82°)
OKLaboklab(36.48% 0.0239 -0.184)
OKLCHoklch(36.48% 0.186 277.4)
XYZxyz(7.7616, 4.1157, 31.8314)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30219C #8D9C21
analogous
#21509C #30219C #6E219C
triadic
#30219C #9C3021 #219C30
tetradic
#30219C #9C2150 #8D9C21 #219C6E
square
#30219C #9C2150 #8D9C21 #219C6E
split-complementary
#30219C #9C6E21 #509C21
monochromatic
#110C37 #201669 #30219C #402CCF #6B5BDC

Accessibility & contrast

On white

11.52
#30219C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30219C
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30219C#FFFFFF#000000##FFFFFF
##30219C1.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #30219c;
/* rgb */ color: rgb(48, 33, 156);
/* oklch */ color: oklch(36.5% 0.186 277.4);
Tailwind
colors: {
  custom: {
    50: '#7960ba',
    500: '#30219c',
    950: '#000000',
  },
}
SCSS
$custom: #30219c;
$custom-light: #7960ba;
$custom-dark: #000000;
JSON
{
  "hex": "#30219c",
  "rgb": {
    "r": 48,
    "g": 33,
    "b": 156
  },
  "hsl": {
    "h": 247.317,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36479,
    "c": 0.18557,
    "h": 277.4
  },
  "luminance": 0.04116
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #30219C

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

Preview Lab → · Contrast checker → · Palette generator →

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