#352BA3#352BA3

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

Color values

HEX#352BA3
RGBrgb(53, 43, 163)
HSLhsl(245, 58%, 40%)
HSVhsv(245, 74%, 64%)
CMYKcmyk(67.5%, 73.6%, 0%, 36.1%)
CIE-LABlab(27.10, 41.63, -62.91)
CIE-LCHlch(27.10, 75.44, 303.50°)
OKLaboklab(38.95% 0.0234 -0.1817)
OKLCHoklch(38.95% 0.183 277.4)
XYZxyz(8.9408, 5.1282, 35.1619)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#352BA3 #99A32B
analogous
#2B5DA3 #352BA3 #712BA3
triadic
#352BA3 #A3352B #2BA335
tetradic
#352BA3 #A32B5D #99A32B #2BA371
square
#352BA3 #A32B5D #99A32B #2BA371
split-complementary
#352BA3 #A3712B #5DA32B
monochromatic
#161142 #251E73 #352BA3 #4B3FCC #786FD9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##352BA3#FFFFFF#000000##FFFFFF
##352BA31.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)
#0045A7
Deuteranopia (green-blind)
#003BA1
Tritanopia (blue-blind)
#004D64
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #352ba3;
/* rgb */ color: rgb(53, 43, 163);
/* oklch */ color: oklch(38.9% 0.183 277.4);
Tailwind
colors: {
  custom: {
    50: '#7c66bf',
    500: '#352ba3',
    950: '#000000',
  },
}
SCSS
$custom: #352ba3;
$custom-light: #7c66bf;
$custom-dark: #000000;
JSON
{
  "hex": "#352ba3",
  "rgb": {
    "r": 53,
    "g": 43,
    "b": 163
  },
  "hsl": {
    "h": 245,
    "s": 58.252,
    "l": 40.392
  },
  "oklch": {
    "l": 0.38946,
    "c": 0.18322,
    "h": 277.4
  },
  "luminance": 0.05129
}

Semantic roles & 50–950 ramp

primary
#352BA3
secondary
#B9C06A
accent
#E146D5
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #352BA3

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

Preview Lab → · Contrast checker → · Palette generator →

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