#354EA3#354EA3

#354EA3 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.3% C 0.140 H 268.0°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#354EA3
RGBrgb(53, 78, 163)
HSLhsl(226, 51%, 42%)
HSVhsv(226, 67%, 64%)
CMYKcmyk(67.5%, 52.1%, 0%, 36.1%)
CIE-LABlab(35.69, 19.38, -48.89)
CIE-LCHlch(35.69, 52.59, 291.62°)
OKLaboklab(45.27% -0.0048 -0.1403)
OKLCHoklch(45.27% 0.14 268)
XYZxyz(10.8012, 8.8490, 35.7820)
Luminance0.0885 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#354EA3 #A38A35
analogous
#3585A3 #354EA3 #5335A3
triadic
#354EA3 #A3354E #4EA335
tetradic
#354EA3 #A33585 #A38A35 #35A353
square
#354EA3 #A33585 #A38A35 #35A353
split-complementary
#354EA3 #A35335 #85A335
monochromatic
#172247 #263875 #354EA3 #4F6AC6 #7E91D5

Accessibility & contrast

On white

7.58
#354EA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#354EA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #354EA3
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##354EA3#FFFFFF#000000##FFFFFF
##354EA31.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A59A6
Deuteranopia (green-blind)
#004FA1
Tritanopia (blue-blind)
#006271
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #354ea3;
/* rgb */ color: rgb(53, 78, 163);
/* oklch */ color: oklch(45.3% 0.140 268.0);
Tailwind
colors: {
  custom: {
    50: '#797fbf',
    500: '#354ea3',
    950: '#000000',
  },
}
SCSS
$custom: #354ea3;
$custom-light: #797fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#354ea3",
  "rgb": {
    "r": 53,
    "g": 78,
    "b": 163
  },
  "hsl": {
    "h": 226.364,
    "s": 50.926,
    "l": 42.353
  },
  "oklch": {
    "l": 0.45273,
    "c": 0.14042,
    "h": 268
  },
  "luminance": 0.0885
}

Semantic roles & 50–950 ramp

primary
#354EA3
secondary
#BEAE76
accent
#BA4DDA
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #354EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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