#354FAB#354FAB

#354FAB is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.1% C 0.150 H 268.1°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#354FAB
RGBrgb(53, 79, 171)
HSLhsl(227, 53%, 44%)
HSVhsv(227, 69%, 67%)
CMYKcmyk(69%, 53.8%, 0%, 32.9%)
CIE-LABlab(36.53, 21.67, -52.31)
CIE-LCHlch(36.53, 56.62, 292.50°)
OKLaboklab(46.09% -0.005 -0.1504)
OKLCHoklch(46.09% 0.15 268.1)
XYZxyz(11.6123, 9.2880, 39.7010)
Luminance0.0929 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#354FAB #AB9135
analogous
#358AAB #354FAB #5635AB
triadic
#354FAB #AB354F #4FAB35
tetradic
#354FAB #AB358A #AB9135 #35AB56
square
#354FAB #AB358A #AB9135 #35AB56
split-complementary
#354FAB #AB5635 #8AAB35
monochromatic
#18244E #27397C #354FAB #536DCA #8295D8

Accessibility & contrast

On white

7.35
#354FAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#354FAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #354FAB
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##354FAB#FFFFFF#000000##FFFFFF
##354FAB1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E5CAE
Deuteranopia (green-blind)
#0051A9
Tritanopia (blue-blind)
#006575
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #354fab;
/* rgb */ color: rgb(53, 79, 171);
/* oklch */ color: oklch(46.1% 0.150 268.1);
Tailwind
colors: {
  custom: {
    50: '#7b7fc5',
    500: '#354fab',
    950: '#000000',
  },
}
SCSS
$custom: #354fab;
$custom-light: #7b7fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#354fab",
  "rgb": {
    "r": 53,
    "g": 79,
    "b": 171
  },
  "hsl": {
    "h": 226.78,
    "s": 52.679,
    "l": 43.922
  },
  "oklch": {
    "l": 0.46089,
    "c": 0.15046,
    "h": 268.1
  },
  "luminance": 0.09289
}

Semantic roles & 50–950 ramp

primary
#354FAB
secondary
#C2B27A
accent
#BC4CDC
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #354FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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