#353197#353197

#353197 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.7% C 0.161 H 277.5°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#353197
RGBrgb(53, 49, 151)
HSLhsl(242, 51%, 39%)
HSVhsv(242, 68%, 59%)
CMYKcmyk(64.9%, 67.5%, 0%, 40.8%)
CIE-LABlab(27.26, 34.02, -55.33)
CIE-LCHlch(27.26, 64.95, 301.58°)
OKLaboklab(38.71% 0.021 -0.1595)
OKLCHoklch(38.71% 0.161 277.5)
XYZxyz(8.1506, 5.1872, 29.8439)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#353197 #939731
analogous
#316097 #353197 #683197
triadic
#353197 #973531 #319735
tetradic
#353197 #973160 #939731 #319768
square
#353197 #973160 #939731 #319768
split-complementary
#353197 #976831 #609731
monochromatic
#15133B #252269 #353197 #4843C2 #7571D1

Accessibility & contrast

On white

10.31
#353197 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#353197 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #353197
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##353197#FFFFFF#000000##FFFFFF
##3531971.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459A
Deuteranopia (green-blind)
#003C95
Tritanopia (blue-blind)
#004C5F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #353197;
/* rgb */ color: rgb(53, 49, 151);
/* oklch */ color: oklch(38.7% 0.161 277.5);
Tailwind
colors: {
  custom: {
    50: '#796ab7',
    500: '#353197',
    950: '#000000',
  },
}
SCSS
$custom: #353197;
$custom-light: #796ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#353197",
  "rgb": {
    "r": 53,
    "g": 49,
    "b": 151
  },
  "hsl": {
    "h": 242.353,
    "s": 51,
    "l": 39.216
  },
  "oklch": {
    "l": 0.38715,
    "c": 0.16092,
    "h": 277.5
  },
  "luminance": 0.05188
}

Semantic roles & 50–950 ramp

primary
#353197
secondary
#B6B96B
accent
#DA4DD5
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #353197

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

Preview Lab → · Contrast checker → · Palette generator →

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