#352498#352498

#352498 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.8% C 0.177 H 279.9°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#352498
RGBrgb(53, 36, 152)
HSLhsl(249, 62%, 37%)
HSVhsv(249, 76%, 60%)
CMYKcmyk(65.1%, 76.3%, 0%, 40.4%)
CIE-LABlab(24.59, 41.99, -60.33)
CIE-LCHlch(24.59, 73.50, 304.84°)
OKLaboklab(36.84% 0.0304 -0.1741)
OKLCHoklch(36.84% 0.177 279.9)
XYZxyz(7.7648, 4.2850, 30.1176)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#352498 #879824
analogous
#244D98 #352498 #6F2498
triadic
#352498 #983524 #249835
tetradic
#352498 #98244D #879824 #24986F
square
#352498 #98244D #879824 #24986F
split-complementary
#352498 #986F24 #4D9824
monochromatic
#120D35 #241867 #352498 #4630C9 #705ED9

Accessibility & contrast

On white

11.31
#352498 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#352498 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #352498
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##352498#FFFFFF#000000##FFFFFF
##3524981.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9B
Deuteranopia (green-blind)
#003696
Tritanopia (blue-blind)
#00455C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #352498;
/* rgb */ color: rgb(53, 36, 152);
/* oklch */ color: oklch(36.8% 0.177 279.9);
Tailwind
colors: {
  custom: {
    50: '#7a61b7',
    500: '#352498',
    950: '#000000',
  },
}
SCSS
$custom: #352498;
$custom-light: #7a61b7;
$custom-dark: #000000;
JSON
{
  "hex": "#352498",
  "rgb": {
    "r": 53,
    "g": 36,
    "b": 152
  },
  "hsl": {
    "h": 248.793,
    "s": 61.702,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36836,
    "c": 0.17675,
    "h": 279.9
  },
  "luminance": 0.04286
}

Semantic roles & 50–950 ramp

primary
#352498
secondary
#AFBE5A
accent
#E543CD
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #352498

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

Preview Lab → · Contrast checker → · Palette generator →

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