#354EB2#354EB2

#354EB2 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.4% C 0.161 H 268.7°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#354EB2
RGBrgb(53, 78, 178)
HSLhsl(228, 54%, 45%)
HSVhsv(228, 70%, 70%)
CMYKcmyk(70.2%, 56.2%, 0%, 30.2%)
CIE-LABlab(36.78, 24.90, -56.06)
CIE-LCHlch(36.78, 61.34, 293.95°)
OKLaboklab(46.44% -0.0037 -0.1614)
OKLCHoklch(46.44% 0.161 268.7)
XYZxyz(12.2257, 9.4188, 43.2846)
Luminance0.0942 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#354EB2 #B29935
analogous
#358CB2 #354EB2 #5A35B2
triadic
#354EB2 #B2354E #4EB235
tetradic
#354EB2 #B2358C #B29935 #35B25A
square
#354EB2 #B2358C #B29935 #35B25A
split-complementary
#354EB2 #B25A35 #8CB235
monochromatic
#192554 #273983 #354EB2 #576FCD #8697DB

Accessibility & contrast

On white

7.28
#354EB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#354EB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #354EB2
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##354EB2#FFFFFF#000000##FFFFFF
##354EB21.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB5
Deuteranopia (green-blind)
#0051B0
Tritanopia (blue-blind)
#006678
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #354eb2;
/* rgb */ color: rgb(53, 78, 178);
/* oklch */ color: oklch(46.4% 0.161 268.7);
Tailwind
colors: {
  custom: {
    50: '#7c7fca',
    500: '#354eb2',
    950: '#000000',
  },
}
SCSS
$custom: #354eb2;
$custom-light: #7c7fca;
$custom-dark: #000000;
JSON
{
  "hex": "#354eb2",
  "rgb": {
    "r": 53,
    "g": 78,
    "b": 178
  },
  "hsl": {
    "h": 228,
    "s": 54.113,
    "l": 45.294
  },
  "oklch": {
    "l": 0.46437,
    "c": 0.16147,
    "h": 268.7
  },
  "luminance": 0.0942
}

Semantic roles & 50–950 ramp

primary
#354EB2
secondary
#C5B77E
accent
#C04ADD
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #354EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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