#352399#352399

#352399 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.8% C 0.179 H 279.9°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#352399
RGBrgb(53, 35, 153)
HSLhsl(249, 63%, 37%)
HSVhsv(249, 77%, 60%)
CMYKcmyk(65.4%, 77.1%, 0%, 40%)
CIE-LABlab(24.51, 42.84, -61.08)
CIE-LCHlch(24.51, 74.61, 305.05°)
OKLaboklab(36.81% 0.0308 -0.1763)
OKLCHoklch(36.81% 0.179 279.9)
XYZxyz(7.8172, 4.2582, 30.5408)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#352399 #879923
analogous
#234C99 #352399 #702399
triadic
#352399 #993523 #239935
tetradic
#352399 #99234C #879923 #239970
square
#352399 #99234C #879923 #239970
split-complementary
#352399 #997023 #4C9923
monochromatic
#120C35 #241867 #352399 #462ECB #705DDA

Accessibility & contrast

On white

11.34
#352399 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#352399 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #352399
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##352399#FFFFFF#000000##FFFFFF
##3523991.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9C
Deuteranopia (green-blind)
#003697
Tritanopia (blue-blind)
#00455D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #352399;
/* rgb */ color: rgb(53, 35, 153);
/* oklch */ color: oklch(36.8% 0.179 279.9);
Tailwind
colors: {
  custom: {
    50: '#7a61b8',
    500: '#352399',
    950: '#000000',
  },
}
SCSS
$custom: #352399;
$custom-light: #7a61b8;
$custom-dark: #000000;
JSON
{
  "hex": "#352399",
  "rgb": {
    "r": 53,
    "g": 35,
    "b": 153
  },
  "hsl": {
    "h": 249.153,
    "s": 62.766,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36808,
    "c": 0.17897,
    "h": 279.9
  },
  "luminance": 0.04259
}

Semantic roles & 50–950 ramp

primary
#352399
secondary
#AFBE59
accent
#E642CD
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #352399

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

Preview Lab → · Contrast checker → · Palette generator →

#352399 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva