#352BA4#352BA4

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

Color values

HEX#352BA4
RGBrgb(53, 43, 164)
HSLhsl(245, 58%, 41%)
HSVhsv(245, 74%, 64%)
CMYKcmyk(67.7%, 73.8%, 0%, 35.7%)
CIE-LABlab(27.20, 41.96, -63.35)
CIE-LCHlch(27.20, 75.99, 303.52°)
OKLaboklab(39.05% 0.0232 -0.183)
OKLCHoklch(39.05% 0.184 277.2)
XYZxyz(9.0307, 5.1642, 35.6356)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#352BA4 #9AA42B
analogous
#2B5DA4 #352BA4 #712BA4
triadic
#352BA4 #A4352B #2BA435
tetradic
#352BA4 #A42B5D #9AA42B #2BA471
square
#352BA4 #A42B5D #9AA42B #2BA471
split-complementary
#352BA4 #A4712B #5DA42B
monochromatic
#161243 #251E74 #352BA4 #4B3FCD #7970D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##352BA4#FFFFFF#000000##FFFFFF
##352BA41.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)
#0045A8
Deuteranopia (green-blind)
#003BA2
Tritanopia (blue-blind)
#004D65
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #352ba4;
/* rgb */ color: rgb(53, 43, 164);
/* oklch */ color: oklch(39.0% 0.184 277.2);
Tailwind
colors: {
  custom: {
    50: '#7c66c0',
    500: '#352ba4',
    950: '#000000',
  },
}
SCSS
$custom: #352ba4;
$custom-light: #7c66c0;
$custom-dark: #000000;
JSON
{
  "hex": "#352ba4",
  "rgb": {
    "r": 53,
    "g": 43,
    "b": 164
  },
  "hsl": {
    "h": 244.959,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.39047,
    "c": 0.18446,
    "h": 277.2
  },
  "luminance": 0.05165
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #352BA4

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

Preview Lab → · Contrast checker → · Palette generator →

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