#353298#353298

#353298 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.0% C 0.161 H 277.2°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#353298
RGBrgb(53, 50, 152)
HSLhsl(242, 50%, 40%)
HSVhsv(242, 67%, 60%)
CMYKcmyk(65.1%, 67.1%, 0%, 40.4%)
CIE-LABlab(27.59, 33.73, -55.41)
CIE-LCHlch(27.59, 64.87, 301.33°)
OKLaboklab(38.98% 0.0201 -0.1598)
OKLCHoklch(38.98% 0.161 277.2)
XYZxyz(8.2745, 5.3044, 30.2875)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#353298 #959832
analogous
#326298 #353298 #683298
triadic
#353298 #983532 #329835
tetradic
#353298 #983262 #959832 #329868
square
#353298 #983262 #959832 #329868
split-complementary
#353298 #986832 #629832
monochromatic
#15143C #25236A #353298 #4945C2 #7673D1

Accessibility & contrast

On white

10.19
#353298 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#353298 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #353298
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##353298#FFFFFF#000000##FFFFFF
##3532981.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459B
Deuteranopia (green-blind)
#003D96
Tritanopia (blue-blind)
#004D60
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #353298;
/* rgb */ color: rgb(53, 50, 152);
/* oklch */ color: oklch(39.0% 0.161 277.2);
Tailwind
colors: {
  custom: {
    50: '#796ab7',
    500: '#353298',
    950: '#000000',
  },
}
SCSS
$custom: #353298;
$custom-light: #796ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#353298",
  "rgb": {
    "r": 53,
    "g": 50,
    "b": 152
  },
  "hsl": {
    "h": 241.765,
    "s": 50.495,
    "l": 39.608
  },
  "oklch": {
    "l": 0.38978,
    "c": 0.16104,
    "h": 277.2
  },
  "luminance": 0.05305
}

Semantic roles & 50–950 ramp

primary
#353298
secondary
#B7B96D
accent
#DA4ED6
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #353298

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

Preview Lab → · Contrast checker → · Palette generator →

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