#354FA1#354FA1

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

Color values

HEX#354FA1
RGBrgb(53, 79, 161)
HSLhsl(226, 50%, 42%)
HSVhsv(226, 67%, 63%)
CMYKcmyk(67.1%, 50.9%, 0%, 36.9%)
CIE-LABlab(35.83, 17.98, -47.47)
CIE-LCHlch(35.83, 50.76, 290.74°)
OKLaboklab(45.34% -0.006 -0.1361)
OKLCHoklch(45.34% 0.136 267.5)
XYZxyz(10.6950, 8.9211, 34.8696)
Luminance0.0892 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#354FA1 #A18735
analogous
#3585A1 #354FA1 #5135A1
triadic
#354FA1 #A1354F #4FA135
tetradic
#354FA1 #A13585 #A18735 #35A151
square
#354FA1 #A13585 #A18735 #35A151
split-complementary
#354FA1 #A15135 #85A135
monochromatic
#172245 #263873 #354FA1 #4E6BC5 #7C91D4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##354FA1#FFFFFF#000000##FFFFFF
##354FA11.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)
#2059A4
Deuteranopia (green-blind)
#00509F
Tritanopia (blue-blind)
#006270
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #354fa1;
/* rgb */ color: rgb(53, 79, 161);
/* oklch */ color: oklch(45.3% 0.136 267.5);
Tailwind
colors: {
  custom: {
    50: '#787fbd',
    500: '#354fa1',
    950: '#000000',
  },
}
SCSS
$custom: #354fa1;
$custom-light: #787fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#354fa1",
  "rgb": {
    "r": 53,
    "g": 79,
    "b": 161
  },
  "hsl": {
    "h": 225.556,
    "s": 50.467,
    "l": 41.961
  },
  "oklch": {
    "l": 0.45335,
    "c": 0.13627,
    "h": 267.5
  },
  "luminance": 0.08922
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #354FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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