#352BA2#352BA2

#352BA2 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.8% C 0.182 H 277.5°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#352BA2
RGBrgb(53, 43, 162)
HSLhsl(245, 58%, 40%)
HSVhsv(245, 73%, 64%)
CMYKcmyk(67.3%, 73.5%, 0%, 36.5%)
CIE-LABlab(27.00, 41.31, -62.47)
CIE-LCHlch(27.00, 74.89, 303.47°)
OKLaboklab(38.84% 0.0236 -0.1804)
OKLCHoklch(38.84% 0.182 277.5)
XYZxyz(8.8515, 5.0925, 34.6919)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#352BA2 #98A22B
analogous
#2B5CA2 #352BA2 #702BA2
triadic
#352BA2 #A2352B #2BA235
tetradic
#352BA2 #A22B5C #98A22B #2BA270
square
#352BA2 #A22B5C #98A22B #2BA270
split-complementary
#352BA2 #A2702B #5CA22B
monochromatic
#151141 #251E72 #352BA2 #4A3ECC #786FD9

Accessibility & contrast

On white

10.40
#352BA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#352BA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #352BA2
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##352BA2#FFFFFF#000000##FFFFFF
##352BA21.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A6
Deuteranopia (green-blind)
#003BA0
Tritanopia (blue-blind)
#004C64
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #352ba2;
/* rgb */ color: rgb(53, 43, 162);
/* oklch */ color: oklch(38.8% 0.182 277.5);
Tailwind
colors: {
  custom: {
    50: '#7b66bf',
    500: '#352ba2',
    950: '#000000',
  },
}
SCSS
$custom: #352ba2;
$custom-light: #7b66bf;
$custom-dark: #000000;
JSON
{
  "hex": "#352ba2",
  "rgb": {
    "r": 53,
    "g": 43,
    "b": 162
  },
  "hsl": {
    "h": 245.042,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.38844,
    "c": 0.18196,
    "h": 277.5
  },
  "luminance": 0.05093
}

Semantic roles & 50–950 ramp

primary
#352BA2
secondary
#B8C069
accent
#E147D4
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #352BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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