#354FA6#354FA6

#354FA6 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.7% C 0.143 H 267.8°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#354FA6
RGBrgb(53, 79, 166)
HSLhsl(226, 52%, 43%)
HSVhsv(226, 68%, 65%)
CMYKcmyk(68.1%, 52.4%, 0%, 34.9%)
CIE-LABlab(36.18, 19.82, -49.90)
CIE-LCHlch(36.18, 53.69, 291.66°)
OKLaboklab(45.71% -0.0054 -0.1433)
OKLCHoklch(45.71% 0.143 267.8)
XYZxyz(11.1447, 9.1010, 37.2383)
Luminance0.0910 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#354FA6 #A68C35
analogous
#3587A6 #354FA6 #5435A6
triadic
#354FA6 #A6354F #4FA635
tetradic
#354FA6 #A63587 #A68C35 #35A654
square
#354FA6 #A63587 #A68C35 #35A654
split-complementary
#354FA6 #A65435 #87A635
monochromatic
#172349 #263978 #354FA6 #516CC7 #7F93D6

Accessibility & contrast

On white

7.45
#354FA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#354FA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #354FA6
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##354FA6#FFFFFF#000000##FFFFFF
##354FA61.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195AA9
Deuteranopia (green-blind)
#0050A4
Tritanopia (blue-blind)
#006473
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #354fa6;
/* rgb */ color: rgb(53, 79, 166);
/* oklch */ color: oklch(45.7% 0.143 267.8);
Tailwind
colors: {
  custom: {
    50: '#797fc1',
    500: '#354fa6',
    950: '#000000',
  },
}
SCSS
$custom: #354fa6;
$custom-light: #797fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#354fa6",
  "rgb": {
    "r": 53,
    "g": 79,
    "b": 166
  },
  "hsl": {
    "h": 226.195,
    "s": 51.598,
    "l": 42.941
  },
  "oklch": {
    "l": 0.45708,
    "c": 0.1434,
    "h": 267.8
  },
  "luminance": 0.09102
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #354FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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