#353797#353797

#353797 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.8% C 0.153 H 276.0°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#353797
RGBrgb(53, 55, 151)
HSLhsl(239, 48%, 40%)
HSVhsv(239, 65%, 59%)
CMYKcmyk(64.9%, 63.6%, 0%, 40.8%)
CIE-LABlab(28.70, 30.20, -52.97)
CIE-LCHlch(28.70, 60.97, 299.69°)
OKLaboklab(39.77% 0.016 -0.1526)
OKLCHoklch(39.77% 0.153 276)
XYZxyz(8.4185, 5.7229, 29.9332)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#353797 #979535
analogous
#356897 #353797 #643597
triadic
#353797 #973537 #379735
tetradic
#353797 #973568 #979535 #359764
square
#353797 #973568 #979535 #359764
split-complementary
#353797 #976435 #689735
monochromatic
#15163C #25266A #353797 #4A4CBF #7779CF

Accessibility & contrast

On white

9.79
#353797 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#353797 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #353797
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##353797#FFFFFF#000000##FFFFFF
##3537971.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489A
Deuteranopia (green-blind)
#003F95
Tritanopia (blue-blind)
#004F61
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #353797;
/* rgb */ color: rgb(53, 55, 151);
/* oklch */ color: oklch(39.8% 0.153 276.0);
Tailwind
colors: {
  custom: {
    50: '#786eb6',
    500: '#353797',
    950: '#000000',
  },
}
SCSS
$custom: #353797;
$custom-light: #786eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#353797",
  "rgb": {
    "r": 53,
    "g": 55,
    "b": 151
  },
  "hsl": {
    "h": 238.776,
    "s": 48.039,
    "l": 40
  },
  "oklch": {
    "l": 0.39766,
    "c": 0.15343,
    "h": 276
  },
  "luminance": 0.05724
}

Semantic roles & 50–950 ramp

primary
#353797
secondary
#B8B670
accent
#D550D8
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #353797

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

Preview Lab → · Contrast checker → · Palette generator →

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