#352897#352897

#352897 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.3% C 0.171 H 279.4°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#352897
RGBrgb(53, 40, 151)
HSLhsl(247, 58%, 37%)
HSVhsv(247, 74%, 59%)
CMYKcmyk(64.9%, 73.5%, 0%, 40.8%)
CIE-LABlab(25.29, 39.43, -58.57)
CIE-LCHlch(25.29, 70.61, 303.95°)
OKLaboklab(37.3% 0.0279 -0.169)
OKLCHoklch(37.3% 0.171 279.4)
XYZxyz(7.8111, 4.5082, 29.7307)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#352897 #8A9728
analogous
#285397 #352897 #6C2897
triadic
#352897 #973528 #289735
tetradic
#352897 #972853 #8A9728 #28976C
square
#352897 #972853 #8A9728 #28976C
split-complementary
#352897 #976C28 #539728
monochromatic
#130E36 #241B67 #352897 #4635C7 #7164D6

Accessibility & contrast

On white

11.04
#352897 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#352897 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #352897
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##352897#FFFFFF#000000##FFFFFF
##3528971.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409A
Deuteranopia (green-blind)
#003895
Tritanopia (blue-blind)
#00475D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #352897;
/* rgb */ color: rgb(53, 40, 151);
/* oklch */ color: oklch(37.3% 0.171 279.4);
Tailwind
colors: {
  custom: {
    50: '#7964b7',
    500: '#352897',
    950: '#000000',
  },
}
SCSS
$custom: #352897;
$custom-light: #7964b7;
$custom-dark: #000000;
JSON
{
  "hex": "#352897",
  "rgb": {
    "r": 53,
    "g": 40,
    "b": 151
  },
  "hsl": {
    "h": 247.027,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.37296,
    "c": 0.17131,
    "h": 279.4
  },
  "luminance": 0.04509
}

Semantic roles & 50–950 ramp

primary
#352897
secondary
#B1BC5F
accent
#E146CF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0511
muted
#7C7A80

Preview Lab

Preview with #352897

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

Preview Lab → · Contrast checker → · Palette generator →

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