#354EA2#354EA2

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

Color values

HEX#354EA2
RGBrgb(53, 78, 162)
HSLhsl(226, 51%, 42%)
HSVhsv(226, 67%, 64%)
CMYKcmyk(67.3%, 51.9%, 0%, 36.5%)
CIE-LABlab(35.62, 19.01, -48.41)
CIE-LCHlch(35.62, 52.00, 291.44°)
OKLaboklab(45.2% -0.0049 -0.1389)
OKLCHoklch(45.2% 0.139 268)
XYZxyz(10.7119, 8.8133, 35.3120)
Luminance0.0881 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#354EA2 #A28935
analogous
#3584A2 #354EA2 #5335A2
triadic
#354EA2 #A2354E #4EA235
tetradic
#354EA2 #A23584 #A28935 #35A253
square
#354EA2 #A23584 #A28935 #35A253
split-complementary
#354EA2 #A25335 #84A235
monochromatic
#172246 #263874 #354EA2 #4F6AC5 #7D91D4

Accessibility & contrast

On white

7.60
#354EA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #354EA2
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##354EA2#FFFFFF#000000##FFFFFF
##354EA21.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C59A5
Deuteranopia (green-blind)
#004FA0
Tritanopia (blue-blind)
#006270
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #354ea2;
/* rgb */ color: rgb(53, 78, 162);
/* oklch */ color: oklch(45.2% 0.139 268.0);
Tailwind
colors: {
  custom: {
    50: '#797fbe',
    500: '#354ea2',
    950: '#000000',
  },
}
SCSS
$custom: #354ea2;
$custom-light: #797fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#354ea2",
  "rgb": {
    "r": 53,
    "g": 78,
    "b": 162
  },
  "hsl": {
    "h": 226.239,
    "s": 50.698,
    "l": 42.157
  },
  "oklch": {
    "l": 0.45198,
    "c": 0.139,
    "h": 268
  },
  "luminance": 0.08814
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #354EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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