#354797#354797

#354797 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.9% C 0.132 H 270.4°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#354797
RGBrgb(53, 71, 151)
HSLhsl(229, 48%, 40%)
HSVhsv(229, 65%, 59%)
CMYKcmyk(64.9%, 53%, 0%, 40.8%)
CIE-LABlab(32.91, 19.62, -46.14)
CIE-LCHlch(32.91, 50.14, 293.03°)
OKLaboklab(42.9% 0.0009 -0.1323)
OKLCHoklch(42.9% 0.132 270.4)
XYZxyz(9.3055, 7.4969, 30.2288)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#354797 #978535
analogous
#357897 #354797 #543597
triadic
#354797 #973547 #479735
tetradic
#354797 #973578 #978535 #359754
square
#354797 #973578 #978535 #359754
split-complementary
#354797 #975435 #789735
monochromatic
#151C3C #25326A #354797 #4A5FBF #7787CF

Accessibility & contrast

On white

8.40
#354797 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#354797 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #354797
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##354797#FFFFFF#000000##FFFFFF
##3547971.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17529A
Deuteranopia (green-blind)
#004995
Tritanopia (blue-blind)
#005A68
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #354797;
/* rgb */ color: rgb(53, 71, 151);
/* oklch */ color: oklch(42.9% 0.132 270.4);
Tailwind
colors: {
  custom: {
    50: '#7779b6',
    500: '#354797',
    950: '#000000',
  },
}
SCSS
$custom: #354797;
$custom-light: #7779b6;
$custom-dark: #000000;
JSON
{
  "hex": "#354797",
  "rgb": {
    "r": 53,
    "g": 71,
    "b": 151
  },
  "hsl": {
    "h": 228.98,
    "s": 48.039,
    "l": 40
  },
  "oklch": {
    "l": 0.42902,
    "c": 0.13234,
    "h": 270.4
  },
  "luminance": 0.07498
}

Semantic roles & 50–950 ramp

primary
#354797
secondary
#B8AB70
accent
#BF50D8
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #354797

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

Preview Lab → · Contrast checker → · Palette generator →

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