#354FB2#354FB2

#354FB2 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.6% C 0.160 H 268.4°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#354FB2
RGBrgb(53, 79, 178)
HSLhsl(228, 54%, 45%)
HSVhsv(228, 70%, 70%)
CMYKcmyk(70.2%, 55.6%, 0%, 30.2%)
CIE-LABlab(37.04, 24.25, -55.63)
CIE-LCHlch(37.04, 60.68, 293.55°)
OKLaboklab(46.64% -0.0045 -0.1601)
OKLCHoklch(46.64% 0.16 268.4)
XYZxyz(12.2973, 9.5620, 43.3084)
Luminance0.0956 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#354FB2 #B29835
analogous
#358DB2 #354FB2 #5935B2
triadic
#354FB2 #B2354F #4FB235
tetradic
#354FB2 #B2358D #B29835 #35B259
square
#354FB2 #B2358D #B29835 #35B259
split-complementary
#354FB2 #B25935 #8DB235
monochromatic
#192554 #273A83 #354FB2 #5770CD #8698DB

Accessibility & contrast

On white

7.21
#354FB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#354FB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #354FB2
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##354FB2#FFFFFF#000000##FFFFFF
##354FB21.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB5
Deuteranopia (green-blind)
#0052B0
Tritanopia (blue-blind)
#006779
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #354fb2;
/* rgb */ color: rgb(53, 79, 178);
/* oklch */ color: oklch(46.6% 0.160 268.4);
Tailwind
colors: {
  custom: {
    50: '#7c80ca',
    500: '#354fb2',
    950: '#000000',
  },
}
SCSS
$custom: #354fb2;
$custom-light: #7c80ca;
$custom-dark: #000000;
JSON
{
  "hex": "#354fb2",
  "rgb": {
    "r": 53,
    "g": 79,
    "b": 178
  },
  "hsl": {
    "h": 227.52,
    "s": 54.113,
    "l": 45.294
  },
  "oklch": {
    "l": 0.46637,
    "c": 0.16021,
    "h": 268.4
  },
  "luminance": 0.09563
}

Semantic roles & 50–950 ramp

primary
#354FB2
secondary
#C5B67E
accent
#BF4ADD
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #354FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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