#352AA4#352AA4

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

Color values

HEX#352AA4
RGBrgb(53, 42, 164)
HSLhsl(245, 59%, 40%)
HSVhsv(245, 74%, 64%)
CMYKcmyk(67.7%, 74.4%, 0%, 35.7%)
CIE-LABlab(27.00, 42.52, -63.68)
CIE-LCHlch(27.00, 76.57, 303.73°)
OKLaboklab(38.9% 0.0239 -0.184)
OKLCHoklch(38.9% 0.186 277.4)
XYZxyz(8.9948, 5.0924, 35.6237)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#352AA4 #99A42A
analogous
#2A5CA4 #352AA4 #722AA4
triadic
#352AA4 #A4352A #2AA435
tetradic
#352AA4 #A42A5C #99A42A #2AA472
square
#352AA4 #A42A5C #99A42A #2AA472
split-complementary
#352AA4 #A4722A #5CA42A
monochromatic
#161143 #251E73 #352AA4 #4B3ECD #786EDA

Accessibility & contrast

On white

10.40
#352AA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#352AA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #352AA4
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##352AA4#FFFFFF#000000##FFFFFF
##352AA41.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A8
Deuteranopia (green-blind)
#003BA2
Tritanopia (blue-blind)
#004D65
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #352aa4;
/* rgb */ color: rgb(53, 42, 164);
/* oklch */ color: oklch(38.9% 0.185 277.4);
Tailwind
colors: {
  custom: {
    50: '#7c66c0',
    500: '#352aa4',
    950: '#000000',
  },
}
SCSS
$custom: #352aa4;
$custom-light: #7c66c0;
$custom-dark: #000000;
JSON
{
  "hex": "#352aa4",
  "rgb": {
    "r": 53,
    "g": 42,
    "b": 164
  },
  "hsl": {
    "h": 245.41,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.38904,
    "c": 0.1855,
    "h": 277.4
  },
  "luminance": 0.05093
}

Semantic roles & 50–950 ramp

primary
#352AA4
secondary
#B9C169
accent
#E245D4
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #352AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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