#354FA4#354FA4

#354FA4 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.6% C 0.141 H 267.7°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#354FA4
RGBrgb(53, 79, 164)
HSLhsl(226, 51%, 43%)
HSVhsv(226, 68%, 64%)
CMYKcmyk(67.7%, 51.8%, 0%, 35.7%)
CIE-LABlab(36.04, 19.08, -48.93)
CIE-LCHlch(36.04, 52.52, 291.31°)
OKLaboklab(45.56% -0.0056 -0.1404)
OKLCHoklch(45.56% 0.141 267.7)
XYZxyz(10.9627, 9.0281, 36.2796)
Luminance0.0903 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#354FA4 #A48A35
analogous
#3586A4 #354FA4 #5335A4
triadic
#354FA4 #A4354F #4FA435
tetradic
#354FA4 #A43586 #A48A35 #35A453
square
#354FA4 #A43586 #A48A35 #35A453
split-complementary
#354FA4 #A45335 #86A435
monochromatic
#172247 #263976 #354FA4 #506CC6 #7E93D5

Accessibility & contrast

On white

7.48
#354FA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#354FA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #354FA4
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##354FA4#FFFFFF#000000##FFFFFF
##354FA41.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5AA7
Deuteranopia (green-blind)
#0050A2
Tritanopia (blue-blind)
#006372
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #354fa4;
/* rgb */ color: rgb(53, 79, 164);
/* oklch */ color: oklch(45.6% 0.141 267.7);
Tailwind
colors: {
  custom: {
    50: '#797fc0',
    500: '#354fa4',
    950: '#000000',
  },
}
SCSS
$custom: #354fa4;
$custom-light: #797fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#354fa4",
  "rgb": {
    "r": 53,
    "g": 79,
    "b": 164
  },
  "hsl": {
    "h": 225.946,
    "s": 51.152,
    "l": 42.549
  },
  "oklch": {
    "l": 0.45558,
    "c": 0.14056,
    "h": 267.7
  },
  "luminance": 0.09029
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #354FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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