#352791#352791

#352791 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.5% C 0.165 H 280.4°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#352791
RGBrgb(53, 39, 145)
HSLhsl(248, 58%, 36%)
HSVhsv(248, 73%, 57%)
CMYKcmyk(63.4%, 73.1%, 0%, 43.1%)
CIE-LABlab(24.49, 38.05, -56.18)
CIE-LCHlch(24.49, 67.86, 304.11°)
OKLaboklab(36.55% 0.0298 -0.162)
OKLCHoklch(36.55% 0.165 280.4)
XYZxyz(7.3029, 4.2517, 27.2184)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#352791 #839127
analogous
#274E91 #352791 #6A2791
triadic
#352791 #913527 #279135
tetradic
#352791 #91274E #839127 #27916A
square
#352791 #91274E #839127 #27916A
split-complementary
#352791 #916A27 #4E9127
monochromatic
#120D31 #231A61 #352791 #4734C1 #6E5FD4

Accessibility & contrast

On white

11.35
#352791 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#352791 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #352791
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##352791#FFFFFF#000000##FFFFFF
##3527911.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E94
Deuteranopia (green-blind)
#00368F
Tritanopia (blue-blind)
#004459
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #352791;
/* rgb */ color: rgb(53, 39, 145);
/* oklch */ color: oklch(36.5% 0.165 280.4);
Tailwind
colors: {
  custom: {
    50: '#7863b2',
    500: '#352791',
    950: '#000000',
  },
}
SCSS
$custom: #352791;
$custom-light: #7863b2;
$custom-dark: #000000;
JSON
{
  "hex": "#352791",
  "rgb": {
    "r": 53,
    "g": 39,
    "b": 145
  },
  "hsl": {
    "h": 247.925,
    "s": 57.609,
    "l": 36.078
  },
  "oklch": {
    "l": 0.36549,
    "c": 0.16476,
    "h": 280.4
  },
  "luminance": 0.04252
}

Semantic roles & 50–950 ramp

primary
#352791
secondary
#ADB95B
accent
#E147CD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0511
muted
#7C7A80

Preview Lab

Preview with #352791

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

Preview Lab → · Contrast checker → · Palette generator →

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