#354EA1#354EA1

#354EA1 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.1% C 0.138 H 267.9°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#354EA1
RGBrgb(53, 78, 161)
HSLhsl(226, 50%, 42%)
HSVhsv(226, 67%, 63%)
CMYKcmyk(67.1%, 51.6%, 0%, 36.9%)
CIE-LABlab(35.55, 18.64, -47.92)
CIE-LCHlch(35.55, 51.41, 291.25°)
OKLaboklab(45.12% -0.005 -0.1375)
OKLCHoklch(45.12% 0.138 267.9)
XYZxyz(10.6234, 8.7779, 34.8458)
Luminance0.0878 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#354EA1 #A18835
analogous
#3584A1 #354EA1 #5235A1
triadic
#354EA1 #A1354E #4EA135
tetradic
#354EA1 #A13584 #A18835 #35A152
square
#354EA1 #A13584 #A18835 #35A152
split-complementary
#354EA1 #A15235 #84A135
monochromatic
#172145 #263873 #354EA1 #4E6AC5 #7C91D4

Accessibility & contrast

On white

7.62
#354EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#354EA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #354EA1
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##354EA1#FFFFFF#000000##FFFFFF
##354EA11.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D59A4
Deuteranopia (green-blind)
#004F9F
Tritanopia (blue-blind)
#006170
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #354ea1;
/* rgb */ color: rgb(53, 78, 161);
/* oklch */ color: oklch(45.1% 0.138 267.9);
Tailwind
colors: {
  custom: {
    50: '#797fbd',
    500: '#354ea1',
    950: '#000000',
  },
}
SCSS
$custom: #354ea1;
$custom-light: #797fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#354ea1",
  "rgb": {
    "r": 53,
    "g": 78,
    "b": 161
  },
  "hsl": {
    "h": 226.111,
    "s": 50.467,
    "l": 41.961
  },
  "oklch": {
    "l": 0.45124,
    "c": 0.13757,
    "h": 267.9
  },
  "luminance": 0.08779
}

Semantic roles & 50–950 ramp

primary
#354EA1
secondary
#BDAC75
accent
#BA4EDA
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #354EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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