#352AA6#352AA6

#352AA6 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.1% C 0.188 H 277.2°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#352AA6
RGBrgb(53, 42, 166)
HSLhsl(245, 60%, 41%)
HSVhsv(245, 75%, 65%)
CMYKcmyk(68.1%, 74.7%, 0%, 34.9%)
CIE-LABlab(27.20, 43.17, -64.55)
CIE-LCHlch(27.20, 77.66, 303.77°)
OKLaboklab(39.11% 0.0234 -0.1865)
OKLCHoklch(39.11% 0.188 277.2)
XYZxyz(9.1769, 5.1652, 36.5824)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#352AA6 #9BA62A
analogous
#2A5DA6 #352AA6 #732AA6
triadic
#352AA6 #A6352A #2AA635
tetradic
#352AA6 #A62A5D #9BA62A #2AA673
square
#352AA6 #A62A5D #9BA62A #2AA673
split-complementary
#352AA6 #A6732A #5DA62A
monochromatic
#161144 #251E75 #352AA6 #4C3FCE #7970DB

Accessibility & contrast

On white

10.33
#352AA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #352AA6
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##352AA6#FFFFFF#000000##FFFFFF
##352AA61.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AA
Deuteranopia (green-blind)
#003BA4
Tritanopia (blue-blind)
#004D66
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #352aa6;
/* rgb */ color: rgb(53, 42, 166);
/* oklch */ color: oklch(39.1% 0.188 277.2);
Tailwind
colors: {
  custom: {
    50: '#7c66c2',
    500: '#352aa6',
    950: '#000000',
  },
}
SCSS
$custom: #352aa6;
$custom-light: #7c66c2;
$custom-dark: #000000;
JSON
{
  "hex": "#352aa6",
  "rgb": {
    "r": 53,
    "g": 42,
    "b": 166
  },
  "hsl": {
    "h": 245.323,
    "s": 59.615,
    "l": 40.784
  },
  "oklch": {
    "l": 0.3911,
    "c": 0.18797,
    "h": 277.2
  },
  "luminance": 0.05166
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #352AA6

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

Preview Lab → · Contrast checker → · Palette generator →

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