#352CA1#352CA1

#352CA1 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.9% C 0.180 H 277.4°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#352CA1
RGBrgb(53, 44, 161)
HSLhsl(245, 57%, 40%)
HSVhsv(245, 73%, 63%)
CMYKcmyk(67.1%, 72.7%, 0%, 36.9%)
CIE-LABlab(27.10, 40.40, -61.69)
CIE-LCHlch(27.10, 73.74, 303.22°)
OKLaboklab(38.89% 0.0232 -0.1781)
OKLCHoklch(38.89% 0.18 277.4)
XYZxyz(8.7998, 5.1307, 34.2379)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#352CA1 #98A12C
analogous
#2C5EA1 #352CA1 #6F2CA1
triadic
#352CA1 #A1352C #2CA135
tetradic
#352CA1 #A12C5E #98A12C #2CA16F
square
#352CA1 #A12C5E #98A12C #2CA16F
split-complementary
#352CA1 #A16F2C #5EA12C
monochromatic
#151241 #251F71 #352CA1 #4A40CB #7870D8

Accessibility & contrast

On white

10.36
#352CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#352CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #352CA1
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##352CA1#FFFFFF#000000##FFFFFF
##352CA11.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A4
Deuteranopia (green-blind)
#003B9F
Tritanopia (blue-blind)
#004D63
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #352ca1;
/* rgb */ color: rgb(53, 44, 161);
/* oklch */ color: oklch(38.9% 0.180 277.4);
Tailwind
colors: {
  custom: {
    50: '#7b67be',
    500: '#352ca1',
    950: '#000000',
  },
}
SCSS
$custom: #352ca1;
$custom-light: #7b67be;
$custom-dark: #000000;
JSON
{
  "hex": "#352ca1",
  "rgb": {
    "r": 53,
    "g": 44,
    "b": 161
  },
  "hsl": {
    "h": 244.615,
    "s": 57.073,
    "l": 40.196
  },
  "oklch": {
    "l": 0.3889,
    "c": 0.17964,
    "h": 277.4
  },
  "luminance": 0.05131
}

Semantic roles & 50–950 ramp

primary
#352CA1
secondary
#B8BF6A
accent
#E047D5
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #352CA1

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

Preview Lab → · Contrast checker → · Palette generator →

#352CA1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva