#354591#354591

#354591 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.0% C 0.126 H 271.1°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#354591
RGBrgb(53, 69, 145)
HSLhsl(230, 46%, 39%)
HSVhsv(230, 63%, 57%)
CMYKcmyk(63.4%, 52.4%, 0%, 43.1%)
CIE-LABlab(31.94, 18.76, -44.06)
CIE-LCHlch(31.94, 47.89, 293.07°)
OKLaboklab(42.03% 0.0024 -0.1262)
OKLCHoklch(42.03% 0.126 271.1)
XYZxyz(8.7054, 7.0567, 27.6859)
Luminance0.0706 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#354591 #918135
analogous
#357391 #354591 #533591
triadic
#354591 #913545 #459135
tetradic
#354591 #913573 #918135 #359153
square
#354591 #913573 #918135 #359153
split-complementary
#354591 #915335 #739135
monochromatic
#141A37 #253064 #354591 #475CBC #7483CC

Accessibility & contrast

On white

8.71
#354591 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#354591 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #354591
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##354591#FFFFFF#000000##FFFFFF
##3545911.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4F94
Deuteranopia (green-blind)
#00478F
Tritanopia (blue-blind)
#005764
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #354591;
/* rgb */ color: rgb(53, 69, 145);
/* oklch */ color: oklch(42.0% 0.126 271.1);
Tailwind
colors: {
  custom: {
    50: '#7678b2',
    500: '#354591',
    950: '#000000',
  },
}
SCSS
$custom: #354591;
$custom-light: #7678b2;
$custom-dark: #000000;
JSON
{
  "hex": "#354591",
  "rgb": {
    "r": 53,
    "g": 69,
    "b": 145
  },
  "hsl": {
    "h": 229.565,
    "s": 46.465,
    "l": 38.824
  },
  "oklch": {
    "l": 0.4203,
    "c": 0.12626,
    "h": 271.1
  },
  "luminance": 0.07057
}

Semantic roles & 50–950 ramp

primary
#354591
secondary
#B5A86D
accent
#BF52D6
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #354591

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

Preview Lab → · Contrast checker → · Palette generator →

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