#354CA5#354CA5

#354CA5 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.0% C 0.146 H 268.9°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#354CA5
RGBrgb(53, 76, 165)
HSLhsl(228, 51%, 43%)
HSVhsv(228, 68%, 65%)
CMYKcmyk(67.9%, 53.9%, 0%, 35.3%)
CIE-LABlab(35.28, 21.43, -50.75)
CIE-LCHlch(35.28, 55.09, 292.90°)
OKLaboklab(45.01% -0.0027 -0.1458)
OKLCHoklch(45.01% 0.146 268.9)
XYZxyz(10.8418, 8.6414, 36.6866)
Luminance0.0864 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#354CA5 #A58E35
analogous
#3584A5 #354CA5 #5635A5
triadic
#354CA5 #A5354C #4CA535
tetradic
#354CA5 #A53584 #A58E35 #35A556
square
#354CA5 #A53584 #A58E35 #35A556
split-complementary
#354CA5 #A55635 #84A535
monochromatic
#172148 #263777 #354CA5 #5069C7 #7F91D6

Accessibility & contrast

On white

7.70
#354CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#354CA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #354CA5
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##354CA5#FFFFFF#000000##FFFFFF
##354CA51.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E58A8
Deuteranopia (green-blind)
#004EA3
Tritanopia (blue-blind)
#006171
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #354ca5;
/* rgb */ color: rgb(53, 76, 165);
/* oklch */ color: oklch(45.0% 0.146 268.9);
Tailwind
colors: {
  custom: {
    50: '#797dc0',
    500: '#354ca5',
    950: '#000000',
  },
}
SCSS
$custom: #354ca5;
$custom-light: #797dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#354ca5",
  "rgb": {
    "r": 53,
    "g": 76,
    "b": 165
  },
  "hsl": {
    "h": 227.679,
    "s": 51.376,
    "l": 42.745
  },
  "oklch": {
    "l": 0.4501,
    "c": 0.14587,
    "h": 268.9
  },
  "luminance": 0.08642
}

Semantic roles & 50–950 ramp

primary
#354CA5
secondary
#BFB077
accent
#BE4DDB
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #354CA5

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

Preview Lab → · Contrast checker → · Palette generator →

#354CA5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva