#352B78#352B78

#352B78 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.9% C 0.126 H 283.6°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#352B78
RGBrgb(53, 43, 120)
HSLhsl(248, 47%, 32%)
HSVhsv(248, 64%, 47%)
CMYKcmyk(55.8%, 64.2%, 0%, 52.9%)
CIE-LABlab(23.14, 27.26, -42.71)
CIE-LCHlch(23.14, 50.66, 302.55°)
OKLaboklab(34.88% 0.0297 -0.1225)
OKLCHoklch(34.88% 0.126 283.6)
XYZxyz(5.7212, 3.8404, 18.2055)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#352B78 #6E782B
analogous
#2B4878 #352B78 #5C2B78
triadic
#352B78 #78352B #2B7835
tetradic
#352B78 #782B48 #6E782B #2B785C
square
#352B78 #782B48 #6E782B #2B785C
split-complementary
#352B78 #785C2B #48782B
monochromatic
#0D0B1E #211B4B #352B78 #493BA5 #675AC4

Accessibility & contrast

On white

11.88
#352B78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#352B78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #352B78
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##352B78#FFFFFF#000000##FFFFFF
##352B781.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7A
Deuteranopia (green-blind)
#003576
Tritanopia (blue-blind)
#183E4D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #352b78;
/* rgb */ color: rgb(53, 43, 120);
/* oklch */ color: oklch(34.9% 0.126 283.6);
Tailwind
colors: {
  custom: {
    50: '#7365a0',
    500: '#352b78',
    950: '#000000',
  },
}
SCSS
$custom: #352b78;
$custom-light: #7365a0;
$custom-dark: #000000;
JSON
{
  "hex": "#352b78",
  "rgb": {
    "r": 53,
    "g": 43,
    "b": 120
  },
  "hsl": {
    "h": 247.792,
    "s": 47.239,
    "l": 31.961
  },
  "oklch": {
    "l": 0.34877,
    "c": 0.12605,
    "h": 283.6
  },
  "luminance": 0.03841
}

Semantic roles & 50–950 ramp

primary
#352B78
secondary
#9FAA55
accent
#D751C5
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#09050F
muted
#7B7A7E

Preview Lab

Preview with #352B78

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

Preview Lab → · Contrast checker → · Palette generator →

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