#354FA2#354FA2

#354FA2 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.4% C 0.138 H 267.6°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#354FA2
RGBrgb(53, 79, 162)
HSLhsl(226, 51%, 42%)
HSVhsv(226, 67%, 64%)
CMYKcmyk(67.3%, 51.2%, 0%, 36.5%)
CIE-LABlab(35.90, 18.34, -47.96)
CIE-LCHlch(35.90, 51.35, 290.93°)
OKLaboklab(45.41% -0.0058 -0.1376)
OKLCHoklch(45.41% 0.138 267.6)
XYZxyz(10.7835, 8.9565, 35.3359)
Luminance0.0896 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#354FA2 #A28835
analogous
#3586A2 #354FA2 #5135A2
triadic
#354FA2 #A2354F #4FA235
tetradic
#354FA2 #A23586 #A28835 #35A251
square
#354FA2 #A23586 #A28835 #35A251
split-complementary
#354FA2 #A25135 #86A235
monochromatic
#172246 #263974 #354FA2 #4F6BC5 #7D92D4

Accessibility & contrast

On white

7.52
#354FA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#354FA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #354FA2
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##354FA2#FFFFFF#000000##FFFFFF
##354FA21.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5AA5
Deuteranopia (green-blind)
#0050A0
Tritanopia (blue-blind)
#006271
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #354fa2;
/* rgb */ color: rgb(53, 79, 162);
/* oklch */ color: oklch(45.4% 0.138 267.6);
Tailwind
colors: {
  custom: {
    50: '#797fbe',
    500: '#354fa2',
    950: '#000000',
  },
}
SCSS
$custom: #354fa2;
$custom-light: #797fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#354fa2",
  "rgb": {
    "r": 53,
    "g": 79,
    "b": 162
  },
  "hsl": {
    "h": 225.688,
    "s": 50.698,
    "l": 42.157
  },
  "oklch": {
    "l": 0.45409,
    "c": 0.1377,
    "h": 267.6
  },
  "luminance": 0.08957
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #354FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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