#352BA6#352BA6

#352BA6 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.3% C 0.187 H 277.0°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#352BA6
RGBrgb(53, 43, 166)
HSLhsl(245, 59%, 41%)
HSVhsv(245, 74%, 65%)
CMYKcmyk(68.1%, 74.1%, 0%, 34.9%)
CIE-LABlab(27.40, 42.61, -64.23)
CIE-LCHlch(27.40, 77.08, 303.56°)
OKLaboklab(39.25% 0.0228 -0.1855)
OKLCHoklch(39.25% 0.187 277)
XYZxyz(9.2128, 5.2370, 36.5943)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#352BA6 #9CA62B
analogous
#2B5EA6 #352BA6 #722BA6
triadic
#352BA6 #A6352B #2BA635
tetradic
#352BA6 #A62B5E #9CA62B #2BA672
square
#352BA6 #A62B5E #9CA62B #2BA672
split-complementary
#352BA6 #A6722B #5EA62B
monochromatic
#161245 #251E75 #352BA6 #4C41CE #7A71DA

Accessibility & contrast

On white

10.26
#352BA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #352BA6
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##352BA6#FFFFFF#000000##FFFFFF
##352BA61.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AA
Deuteranopia (green-blind)
#003BA4
Tritanopia (blue-blind)
#004E66
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #352ba6;
/* rgb */ color: rgb(53, 43, 166);
/* oklch */ color: oklch(39.3% 0.187 277.0);
Tailwind
colors: {
  custom: {
    50: '#7c66c2',
    500: '#352ba6',
    950: '#000000',
  },
}
SCSS
$custom: #352ba6;
$custom-light: #7c66c2;
$custom-dark: #000000;
JSON
{
  "hex": "#352ba6",
  "rgb": {
    "r": 53,
    "g": 43,
    "b": 166
  },
  "hsl": {
    "h": 244.878,
    "s": 58.852,
    "l": 40.98
  },
  "oklch": {
    "l": 0.39251,
    "c": 0.18695,
    "h": 277
  },
  "luminance": 0.05238
}

Semantic roles & 50–950 ramp

primary
#352BA6
secondary
#BAC16B
accent
#E246D5
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #352BA6

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

Preview Lab → · Contrast checker → · Palette generator →

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