#35219D#35219D

#35219D is a dark, vivid blue. Relative luminance 0.043; OKLCH L 37.0% C 0.186 H 279.6°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#35219D
RGBrgb(53, 33, 157)
HSLhsl(250, 65%, 37%)
HSVhsv(250, 79%, 62%)
CMYKcmyk(66.2%, 79%, 0%, 38.4%)
CIE-LABlab(24.57, 45.12, -63.42)
CIE-LCHlch(24.57, 77.84, 305.43°)
OKLaboklab(36.98% 0.0309 -0.1831)
OKLCHoklch(36.98% 0.186 279.6)
XYZxyz(8.0959, 4.2783, 32.2909)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35219D #899D21
analogous
#214B9D #35219D #73219D
triadic
#35219D #9D3521 #219D35
tetradic
#35219D #9D214B #899D21 #219D73
square
#35219D #9D214B #899D21 #219D73
split-complementary
#35219D #9D7321 #4B9D21
monochromatic
#130C38 #24166A #35219D #462CD0 #715CDD

Accessibility & contrast

On white

11.32
#35219D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#35219D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35219D
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35219D#FFFFFF#000000##FFFFFF
##35219D1.0011.321.8611.32
#FFFFFF11.321.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA0
Deuteranopia (green-blind)
#00359B
Tritanopia (blue-blind)
#00465E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #35219d;
/* rgb */ color: rgb(53, 33, 157);
/* oklch */ color: oklch(37.0% 0.186 279.6);
Tailwind
colors: {
  custom: {
    50: '#7b60bb',
    500: '#35219d',
    950: '#000000',
  },
}
SCSS
$custom: #35219d;
$custom-light: #7b60bb;
$custom-dark: #000000;
JSON
{
  "hex": "#35219d",
  "rgb": {
    "r": 53,
    "g": 33,
    "b": 157
  },
  "hsl": {
    "h": 249.677,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.36979,
    "c": 0.1857,
    "h": 279.6
  },
  "luminance": 0.04279
}

Semantic roles & 50–950 ramp

primary
#35219D
secondary
#B0C159
accent
#E840CD
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #35219D

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

Preview Lab → · Contrast checker → · Palette generator →

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