#352BAB#352BAB

#352BAB is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.8% C 0.193 H 276.5°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#352BAB
RGBrgb(53, 43, 171)
HSLhsl(245, 60%, 42%)
HSVhsv(245, 75%, 67%)
CMYKcmyk(69%, 74.9%, 0%, 32.9%)
CIE-LABlab(27.91, 44.23, -66.40)
CIE-LCHlch(27.91, 79.78, 303.67°)
OKLaboklab(39.77% 0.0218 -0.1919)
OKLCHoklch(39.77% 0.193 276.5)
XYZxyz(9.6804, 5.4240, 39.0570)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#352BAB #A1AB2B
analogous
#2B61AB #352BAB #752BAB
triadic
#352BAB #AB352B #2BAB35
tetradic
#352BAB #AB2B61 #A1AB2B #2BAB75
square
#352BAB #AB2B61 #A1AB2B #2BAB75
split-complementary
#352BAB #AB752B #61AB2B
monochromatic
#171249 #261F7A #352BAB #4E43D0 #7C74DC

Accessibility & contrast

On white

10.07
#352BAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#352BAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #352BAB
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##352BAB#FFFFFF#000000##FFFFFF
##352BAB1.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AF
Deuteranopia (green-blind)
#003CA9
Tritanopia (blue-blind)
#005069
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #352bab;
/* rgb */ color: rgb(53, 43, 171);
/* oklch */ color: oklch(39.8% 0.193 276.5);
Tailwind
colors: {
  custom: {
    50: '#7d67c5',
    500: '#352bab',
    950: '#000000',
  },
}
SCSS
$custom: #352bab;
$custom-light: #7d67c5;
$custom-dark: #000000;
JSON
{
  "hex": "#352bab",
  "rgb": {
    "r": 53,
    "g": 43,
    "b": 171
  },
  "hsl": {
    "h": 244.688,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.39766,
    "c": 0.19311,
    "h": 276.5
  },
  "luminance": 0.05425
}

Semantic roles & 50–950 ramp

primary
#352BAB
secondary
#BDC46E
accent
#E345D7
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #352BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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