#354EB8#354EB8

#354EB8 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.9% C 0.170 H 268.8°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#354EB8
RGBrgb(53, 78, 184)
HSLhsl(229, 55%, 46%)
HSVhsv(229, 71%, 72%)
CMYKcmyk(71.2%, 57.6%, 0%, 27.8%)
CIE-LABlab(37.23, 27.10, -58.86)
CIE-LCHlch(37.23, 64.80, 294.73°)
OKLaboklab(46.92% -0.0035 -0.1697)
OKLCHoklch(46.92% 0.17 268.8)
XYZxyz(12.8413, 9.6651, 46.5269)
Luminance0.0967 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#354EB8 #B89F35
analogous
#3590B8 #354EB8 #5E35B8
triadic
#354EB8 #B8354E #4EB835
tetradic
#354EB8 #B83590 #B89F35 #35B85E
square
#354EB8 #B83590 #B89F35 #35B85E
split-complementary
#354EB8 #B85E35 #90B835
monochromatic
#1A2659 #273A88 #354EB8 #5B71D0 #8A9ADD

Accessibility & contrast

On white

7.16
#354EB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#354EB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #354EB8
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##354EB8#FFFFFF#000000##FFFFFF
##354EB81.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #354eb8;
/* rgb */ color: rgb(53, 78, 184);
/* oklch */ color: oklch(46.9% 0.170 268.8);
Tailwind
colors: {
  custom: {
    50: '#7d7fce',
    500: '#354eb8',
    950: '#000000',
  },
}
SCSS
$custom: #354eb8;
$custom-light: #7d7fce;
$custom-dark: #000000;
JSON
{
  "hex": "#354eb8",
  "rgb": {
    "r": 53,
    "g": 78,
    "b": 184
  },
  "hsl": {
    "h": 228.55,
    "s": 55.274,
    "l": 46.471
  },
  "oklch": {
    "l": 0.46922,
    "c": 0.1697,
    "h": 268.8
  },
  "luminance": 0.09666
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #354EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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