#352298#352298

#352298 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.6% C 0.179 H 280.2°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#352298
RGBrgb(53, 34, 152)
HSLhsl(250, 63%, 36%)
HSVhsv(250, 78%, 60%)
CMYKcmyk(65.1%, 77.6%, 0%, 40.4%)
CIE-LABlab(24.22, 43.05, -60.94)
CIE-LCHlch(24.22, 74.62, 305.24°)
OKLaboklab(36.57% 0.0316 -0.1759)
OKLCHoklch(36.57% 0.179 280.2)
XYZxyz(7.7059, 4.1673, 30.0980)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#352298 #859822
analogous
#224A98 #352298 #702298
triadic
#352298 #983522 #229835
tetradic
#352298 #98224A #859822 #229870
square
#352298 #98224A #859822 #229870
split-complementary
#352298 #987022 #4A9822
monochromatic
#120C34 #241766 #352298 #462DCA #6F5ADA

Accessibility & contrast

On white

11.45
#352298 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#352298 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #352298
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##352298#FFFFFF#000000##FFFFFF
##3522981.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9B
Deuteranopia (green-blind)
#003596
Tritanopia (blue-blind)
#00445C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #352298;
/* rgb */ color: rgb(53, 34, 152);
/* oklch */ color: oklch(36.6% 0.179 280.2);
Tailwind
colors: {
  custom: {
    50: '#7a60b7',
    500: '#352298',
    950: '#000000',
  },
}
SCSS
$custom: #352298;
$custom-light: #7a60b7;
$custom-dark: #000000;
JSON
{
  "hex": "#352298",
  "rgb": {
    "r": 53,
    "g": 34,
    "b": 152
  },
  "hsl": {
    "h": 249.661,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.36573,
    "c": 0.17872,
    "h": 280.2
  },
  "luminance": 0.04168
}

Semantic roles & 50–950 ramp

primary
#352298
secondary
#AEBE57
accent
#E641CC
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #352298

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

Preview Lab → · Contrast checker → · Palette generator →

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