#352AB4#352AB4

#352AB4 is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 40.6% C 0.205 H 275.7°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#352AB4
RGBrgb(53, 42, 180)
HSLhsl(245, 62%, 44%)
HSVhsv(245, 77%, 71%)
CMYKcmyk(70.6%, 76.7%, 0%, 29.4%)
CIE-LABlab(28.66, 47.65, -70.54)
CIE-LCHlch(28.66, 85.13, 304.04°)
OKLaboklab(40.58% 0.0203 -0.2039)
OKLCHoklch(40.58% 0.205 275.7)
XYZxyz(10.5317, 5.7071, 43.7177)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#352AB4 #A9B42A
analogous
#2A64B4 #352AB4 #7A2AB4
triadic
#352AB4 #B4352A #2AB435
tetradic
#352AB4 #B42A64 #A9B42A #2AB47A
square
#352AB4 #B42A64 #A9B42A #2AB47A
split-complementary
#352AB4 #B47A2A #64B42A
monochromatic
#181351 #261E82 #352AB4 #5247D4 #8179E0

Accessibility & contrast

On white

9.81
#352AB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#352AB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #352AB4
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##352AB4#FFFFFF#000000##FFFFFF
##352AB41.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB8
Deuteranopia (green-blind)
#003DB2
Tritanopia (blue-blind)
#00536E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #352ab4;
/* rgb */ color: rgb(53, 42, 180);
/* oklch */ color: oklch(40.6% 0.205 275.7);
Tailwind
colors: {
  custom: {
    50: '#7f66cc',
    500: '#352ab4',
    950: '#000000',
  },
}
SCSS
$custom: #352ab4;
$custom-light: #7f66cc;
$custom-dark: #000000;
JSON
{
  "hex": "#352ab4",
  "rgb": {
    "r": 53,
    "g": 42,
    "b": 180
  },
  "hsl": {
    "h": 244.783,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.40576,
    "c": 0.20496,
    "h": 275.7
  },
  "luminance": 0.05708
}

Semantic roles & 50–950 ramp

primary
#352AB4
secondary
#C1C872
accent
#E543D8
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #352AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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