#352997#352997

#352997 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.4% C 0.170 H 279.2°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#352997
RGBrgb(53, 41, 151)
HSLhsl(247, 57%, 38%)
HSVhsv(247, 73%, 59%)
CMYKcmyk(64.9%, 72.8%, 0%, 40.8%)
CIE-LABlab(25.49, 38.85, -58.23)
CIE-LCHlch(25.49, 70.00, 303.71°)
OKLaboklab(37.44% 0.0272 -0.168)
OKLCHoklch(37.44% 0.17 279.2)
XYZxyz(7.8453, 4.5765, 29.7421)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#352997 #8B9729
analogous
#295497 #352997 #6C2997
triadic
#352997 #973529 #299735
tetradic
#352997 #972954 #8B9729 #29976C
square
#352997 #972954 #8B9729 #29976C
split-complementary
#352997 #976C29 #549729
monochromatic
#130F37 #241C67 #352997 #4636C7 #7165D5

Accessibility & contrast

On white

10.96
#352997 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#352997 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #352997
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##352997#FFFFFF#000000##FFFFFF
##3529971.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #352997;
/* rgb */ color: rgb(53, 41, 151);
/* oklch */ color: oklch(37.4% 0.170 279.2);
Tailwind
colors: {
  custom: {
    50: '#7964b7',
    500: '#352997',
    950: '#000000',
  },
}
SCSS
$custom: #352997;
$custom-light: #7964b7;
$custom-dark: #000000;
JSON
{
  "hex": "#352997",
  "rgb": {
    "r": 53,
    "g": 41,
    "b": 151
  },
  "hsl": {
    "h": 246.545,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.37444,
    "c": 0.17021,
    "h": 279.2
  },
  "luminance": 0.04577
}

Semantic roles & 50–950 ramp

primary
#352997
secondary
#B1BB61
accent
#E147D0
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0511
muted
#7C7A80

Preview Lab

Preview with #352997

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

Preview Lab → · Contrast checker → · Palette generator →

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