#352D87#352D87

#352D87 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.6% C 0.144 H 280.5°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#352D87
RGBrgb(53, 45, 135)
HSLhsl(245, 50%, 35%)
HSVhsv(245, 67%, 53%)
CMYKcmyk(60.7%, 66.7%, 0%, 47.1%)
CIE-LABlab(24.90, 31.06, -49.29)
CIE-LCHlch(24.90, 58.27, 302.22°)
OKLaboklab(36.56% 0.0263 -0.1419)
OKLCHoklch(36.56% 0.144 280.5)
XYZxyz(6.7784, 4.3825, 23.4057)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#352D87 #7F872D
analogous
#2D5287 #352D87 #622D87
triadic
#352D87 #87352D #2D8735
tetradic
#352D87 #872D52 #7F872D #2D8762
square
#352D87 #872D52 #7F872D #2D8762
split-complementary
#352D87 #87622D #52872D
monochromatic
#110E2B #231E59 #352D87 #473CB5 #6D63CB

Accessibility & contrast

On white

11.19
#352D87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#352D87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #352D87
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##352D87#FFFFFF#000000##FFFFFF
##352D871.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8A
Deuteranopia (green-blind)
#003885
Tritanopia (blue-blind)
#004455
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #352d87;
/* rgb */ color: rgb(53, 45, 135);
/* oklch */ color: oklch(36.6% 0.144 280.5);
Tailwind
colors: {
  custom: {
    50: '#7666ab',
    500: '#352d87',
    950: '#000000',
  },
}
SCSS
$custom: #352d87;
$custom-light: #7666ab;
$custom-dark: #000000;
JSON
{
  "hex": "#352d87",
  "rgb": {
    "r": 53,
    "g": 45,
    "b": 135
  },
  "hsl": {
    "h": 245.333,
    "s": 50,
    "l": 35.294
  },
  "oklch": {
    "l": 0.3656,
    "c": 0.14428,
    "h": 280.5
  },
  "luminance": 0.04383
}

Semantic roles & 50–950 ramp

primary
#352D87
secondary
#AAB25E
accent
#DA4ECD
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #352D87

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

Preview Lab → · Contrast checker → · Palette generator →

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