#352CA4#352CA4

#352CA4 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.2% C 0.183 H 277.1°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#352CA4
RGBrgb(53, 44, 164)
HSLhsl(245, 58%, 41%)
HSVhsv(245, 73%, 64%)
CMYKcmyk(67.7%, 73.2%, 0%, 35.7%)
CIE-LABlab(27.40, 41.39, -63.01)
CIE-LCHlch(27.40, 75.39, 303.30°)
OKLaboklab(39.19% 0.0226 -0.182)
OKLCHoklch(39.19% 0.183 277.1)
XYZxyz(9.0675, 5.2378, 35.6479)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#352CA4 #9BA42C
analogous
#2C5FA4 #352CA4 #712CA4
triadic
#352CA4 #A4352C #2CA435
tetradic
#352CA4 #A42C5F #9BA42C #2CA471
square
#352CA4 #A42C5F #9BA42C #2CA471
split-complementary
#352CA4 #A4712C #5FA42C
monochromatic
#161243 #251F74 #352CA4 #4C41CC #7971D9

Accessibility & contrast

On white

10.25
#352CA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#352CA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #352CA4
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##352CA4#FFFFFF#000000##FFFFFF
##352CA41.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A8
Deuteranopia (green-blind)
#003CA2
Tritanopia (blue-blind)
#004E65
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #352ca4;
/* rgb */ color: rgb(53, 44, 164);
/* oklch */ color: oklch(39.2% 0.183 277.1);
Tailwind
colors: {
  custom: {
    50: '#7c67c0',
    500: '#352ca4',
    950: '#000000',
  },
}
SCSS
$custom: #352ca4;
$custom-light: #7c67c0;
$custom-dark: #000000;
JSON
{
  "hex": "#352ca4",
  "rgb": {
    "r": 53,
    "g": 44,
    "b": 164
  },
  "hsl": {
    "h": 244.5,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.39192,
    "c": 0.18342,
    "h": 277.1
  },
  "luminance": 0.05239
}

Semantic roles & 50–950 ramp

primary
#352CA4
secondary
#BAC06B
accent
#E147D5
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #352CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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