#354FB8#354FB8

#354FB8 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.1% C 0.168 H 268.6°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#354FB8
RGBrgb(53, 79, 184)
HSLhsl(228, 55%, 46%)
HSVhsv(228, 71%, 72%)
CMYKcmyk(71.2%, 57.1%, 0%, 27.8%)
CIE-LABlab(37.50, 26.45, -58.43)
CIE-LCHlch(37.50, 64.14, 294.36°)
OKLaboklab(47.12% -0.0042 -0.1684)
OKLCHoklch(47.12% 0.168 268.6)
XYZxyz(12.9129, 9.8082, 46.5508)
Luminance0.0981 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#354FB8 #B89E35
analogous
#3591B8 #354FB8 #5D35B8
triadic
#354FB8 #B8354F #4FB835
tetradic
#354FB8 #B83591 #B89E35 #35B85D
square
#354FB8 #B83591 #B89E35 #35B85D
split-complementary
#354FB8 #B85D35 #91B835
monochromatic
#1A2659 #273B88 #354FB8 #5B72D0 #8A9BDD

Accessibility & contrast

On white

7.09
#354FB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#354FB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #354FB8
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##354FB8#FFFFFF#000000##FFFFFF
##354FB81.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBC
Deuteranopia (green-blind)
#0052B6
Tritanopia (blue-blind)
#00697C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #354fb8;
/* rgb */ color: rgb(53, 79, 184);
/* oklch */ color: oklch(47.1% 0.168 268.6);
Tailwind
colors: {
  custom: {
    50: '#7d80ce',
    500: '#354fb8',
    950: '#000000',
  },
}
SCSS
$custom: #354fb8;
$custom-light: #7d80ce;
$custom-dark: #000000;
JSON
{
  "hex": "#354fb8",
  "rgb": {
    "r": 53,
    "g": 79,
    "b": 184
  },
  "hsl": {
    "h": 228.092,
    "s": 55.274,
    "l": 46.471
  },
  "oklch": {
    "l": 0.47118,
    "c": 0.16844,
    "h": 268.6
  },
  "luminance": 0.0981
}

Semantic roles & 50–950 ramp

primary
#354FB8
secondary
#C7BA81
accent
#C149DF
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #354FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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