#352797#352797

#352797 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.2% C 0.172 H 279.5°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#352797
RGBrgb(53, 39, 151)
HSLhsl(248, 59%, 37%)
HSVhsv(248, 74%, 59%)
CMYKcmyk(64.9%, 74.2%, 0%, 40.8%)
CIE-LABlab(25.08, 40.00, -58.91)
CIE-LCHlch(25.08, 71.20, 304.18°)
OKLaboklab(37.15% 0.0286 -0.17)
OKLCHoklch(37.15% 0.172 279.5)
XYZxyz(7.7778, 4.4417, 29.7196)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#352797 #899727
analogous
#275197 #352797 #6D2797
triadic
#352797 #973527 #279735
tetradic
#352797 #972751 #899727 #27976D
square
#352797 #972751 #899727 #27976D
split-complementary
#352797 #976D27 #519727
monochromatic
#130E36 #241A66 #352797 #4634C8 #7162D6

Accessibility & contrast

On white

11.12
#352797 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#352797 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #352797
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##352797#FFFFFF#000000##FFFFFF
##3527971.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409A
Deuteranopia (green-blind)
#003795
Tritanopia (blue-blind)
#00465D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #352797;
/* rgb */ color: rgb(53, 39, 151);
/* oklch */ color: oklch(37.2% 0.172 279.5);
Tailwind
colors: {
  custom: {
    50: '#7963b7',
    500: '#352797',
    950: '#000000',
  },
}
SCSS
$custom: #352797;
$custom-light: #7963b7;
$custom-dark: #000000;
JSON
{
  "hex": "#352797",
  "rgb": {
    "r": 53,
    "g": 39,
    "b": 151
  },
  "hsl": {
    "h": 247.5,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.37151,
    "c": 0.17239,
    "h": 279.5
  },
  "luminance": 0.04442
}

Semantic roles & 50–950 ramp

primary
#352797
secondary
#B0BC5E
accent
#E246CF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0511
muted
#7C7A80

Preview Lab

Preview with #352797

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

Preview Lab → · Contrast checker → · Palette generator →

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