#352398#352398

#352398 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.7% C 0.178 H 280.0°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#352398
RGBrgb(53, 35, 152)
HSLhsl(249, 63%, 37%)
HSVhsv(249, 77%, 60%)
CMYKcmyk(65.1%, 77%, 0%, 40.4%)
CIE-LABlab(24.40, 42.53, -60.64)
CIE-LCHlch(24.40, 74.06, 305.04°)
OKLaboklab(36.7% 0.031 -0.175)
OKLCHoklch(36.7% 0.178 280)
XYZxyz(7.7349, 4.2253, 30.1076)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#352398 #869823
analogous
#234C98 #352398 #702398
triadic
#352398 #983523 #239835
tetradic
#352398 #98234C #869823 #239870
square
#352398 #98234C #869823 #239870
split-complementary
#352398 #987023 #4C9823
monochromatic
#120C35 #241866 #352398 #462ECA #6F5CD9

Accessibility & contrast

On white

11.38
#352398 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #352398
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##352398#FFFFFF#000000##FFFFFF
##3523981.0011.381.8511.38
#FFFFFF11.381.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #352398;
/* rgb */ color: rgb(53, 35, 152);
/* oklch */ color: oklch(36.7% 0.178 280.0);
Tailwind
colors: {
  custom: {
    50: '#7a61b7',
    500: '#352398',
    950: '#000000',
  },
}
SCSS
$custom: #352398;
$custom-light: #7a61b7;
$custom-dark: #000000;
JSON
{
  "hex": "#352398",
  "rgb": {
    "r": 53,
    "g": 35,
    "b": 152
  },
  "hsl": {
    "h": 249.231,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36703,
    "c": 0.17774,
    "h": 280
  },
  "luminance": 0.04226
}

Semantic roles & 50–950 ramp

primary
#352398
secondary
#AEBE59
accent
#E642CC
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #352398

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

Preview Lab → · Contrast checker → · Palette generator →

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