#352887#352887

#352887 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.7% C 0.151 H 281.8°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#352887
RGBrgb(53, 40, 135)
HSLhsl(248, 54%, 34%)
HSVhsv(248, 70%, 53%)
CMYKcmyk(60.7%, 70.4%, 0%, 47.1%)
CIE-LABlab(23.75, 34.17, -51.17)
CIE-LCHlch(23.75, 61.53, 303.73°)
OKLaboklab(35.73% 0.0309 -0.1474)
OKLCHoklch(35.73% 0.151 281.8)
XYZxyz(6.5988, 4.0233, 23.3458)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#352887 #7A8728
analogous
#284A87 #352887 #652887
triadic
#352887 #873528 #288735
tetradic
#352887 #87284A #7A8728 #288765
square
#352887 #87284A #7A8728 #288765
split-complementary
#352887 #876528 #4A8728
monochromatic
#100C29 #221A58 #352887 #4836B6 #6B5BCE

Accessibility & contrast

On white

11.64
#352887 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#352887 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #352887
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##352887#FFFFFF#000000##FFFFFF
##3528871.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8A
Deuteranopia (green-blind)
#003585
Tritanopia (blue-blind)
#004154
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #352887;
/* rgb */ color: rgb(53, 40, 135);
/* oklch */ color: oklch(35.7% 0.151 281.8);
Tailwind
colors: {
  custom: {
    50: '#7663ab',
    500: '#352887',
    950: '#000000',
  },
}
SCSS
$custom: #352887;
$custom-light: #7663ab;
$custom-dark: #000000;
JSON
{
  "hex": "#352887",
  "rgb": {
    "r": 53,
    "g": 40,
    "b": 135
  },
  "hsl": {
    "h": 248.211,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.35729,
    "c": 0.15057,
    "h": 281.8
  },
  "luminance": 0.04024
}

Semantic roles & 50–950 ramp

primary
#352887
secondary
#A7B457
accent
#DE4AC9
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #352887

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

Preview Lab → · Contrast checker → · Palette generator →

#352887 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva