#352AA5#352AA5

#352AA5 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 39.0% C 0.187 H 277.3°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#352AA5
RGBrgb(53, 42, 165)
HSLhsl(245, 59%, 41%)
HSVhsv(245, 75%, 65%)
CMYKcmyk(67.9%, 74.5%, 0%, 35.3%)
CIE-LABlab(27.10, 42.85, -64.12)
CIE-LCHlch(27.10, 77.12, 303.75°)
OKLaboklab(39.01% 0.0237 -0.1852)
OKLCHoklch(39.01% 0.187 277.3)
XYZxyz(9.0855, 5.1286, 36.1011)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#352AA5 #9AA52A
analogous
#2A5CA5 #352AA5 #722AA5
triadic
#352AA5 #A5352A #2AA535
tetradic
#352AA5 #A52A5C #9AA52A #2AA572
square
#352AA5 #A52A5C #9AA52A #2AA572
split-complementary
#352AA5 #A5722A #5CA52A
monochromatic
#161143 #251E74 #352AA5 #4B3ECE #796FDA

Accessibility & contrast

On white

10.37
#352AA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #352AA5
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##352AA5#FFFFFF#000000##FFFFFF
##352AA51.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #352aa5;
/* rgb */ color: rgb(53, 42, 165);
/* oklch */ color: oklch(39.0% 0.187 277.3);
Tailwind
colors: {
  custom: {
    50: '#7c66c1',
    500: '#352aa5',
    950: '#000000',
  },
}
SCSS
$custom: #352aa5;
$custom-light: #7c66c1;
$custom-dark: #000000;
JSON
{
  "hex": "#352aa5",
  "rgb": {
    "r": 53,
    "g": 42,
    "b": 165
  },
  "hsl": {
    "h": 245.366,
    "s": 59.42,
    "l": 40.588
  },
  "oklch": {
    "l": 0.39007,
    "c": 0.18673,
    "h": 277.3
  },
  "luminance": 0.05129
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #352AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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