#354EA5#354EA5

#354EA5 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.4% C 0.143 H 268.2°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#354EA5
RGBrgb(53, 78, 165)
HSLhsl(227, 51%, 43%)
HSVhsv(227, 68%, 65%)
CMYKcmyk(67.9%, 52.7%, 0%, 35.3%)
CIE-LABlab(35.83, 20.11, -49.86)
CIE-LCHlch(35.83, 53.77, 291.97°)
OKLaboklab(45.42% -0.0046 -0.1432)
OKLCHoklch(45.42% 0.143 268.2)
XYZxyz(10.9818, 8.9212, 36.7332)
Luminance0.0892 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#354EA5 #A58C35
analogous
#3586A5 #354EA5 #5435A5
triadic
#354EA5 #A5354E #4EA535
tetradic
#354EA5 #A53586 #A58C35 #35A554
square
#354EA5 #A53586 #A58C35 #35A554
split-complementary
#354EA5 #A55435 #86A535
monochromatic
#172248 #263877 #354EA5 #506BC7 #7F92D6

Accessibility & contrast

On white

7.54
#354EA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#354EA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #354EA5
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##354EA5#FFFFFF#000000##FFFFFF
##354EA51.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#175AA8
Deuteranopia (green-blind)
#004FA3
Tritanopia (blue-blind)
#006372
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #354ea5;
/* rgb */ color: rgb(53, 78, 165);
/* oklch */ color: oklch(45.4% 0.143 268.2);
Tailwind
colors: {
  custom: {
    50: '#797fc0',
    500: '#354ea5',
    950: '#000000',
  },
}
SCSS
$custom: #354ea5;
$custom-light: #797fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#354ea5",
  "rgb": {
    "r": 53,
    "g": 78,
    "b": 165
  },
  "hsl": {
    "h": 226.607,
    "s": 51.376,
    "l": 42.745
  },
  "oklch": {
    "l": 0.45424,
    "c": 0.14327,
    "h": 268.2
  },
  "luminance": 0.08922
}

Semantic roles & 50–950 ramp

primary
#354EA5
secondary
#BFAF77
accent
#BB4DDB
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #354EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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