#354EAF#354EAF

#354EAF is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.2% C 0.157 H 268.6°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#354EAF
RGBrgb(53, 78, 175)
HSLhsl(228, 54%, 45%)
HSVhsv(228, 70%, 69%)
CMYKcmyk(69.7%, 55.4%, 0%, 31.4%)
CIE-LABlab(36.55, 23.80, -54.65)
CIE-LCHlch(36.55, 59.60, 293.53°)
OKLaboklab(46.2% -0.0038 -0.1573)
OKLCHoklch(46.2% 0.157 268.6)
XYZxyz(11.9278, 9.2996, 41.7155)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#354EAF #AF9635
analogous
#358BAF #354EAF #5935AF
triadic
#354EAF #AF354E #4EAF35
tetradic
#354EAF #AF358B #AF9635 #35AF59
square
#354EAF #AF358B #AF9635 #35AF59
split-complementary
#354EAF #AF5935 #8BAF35
monochromatic
#192451 #273980 #354EAF #566ECC #8596DA

Accessibility & contrast

On white

7.34
#354EAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #354EAF
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##354EAF#FFFFFF#000000##FFFFFF
##354EAF1.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB2
Deuteranopia (green-blind)
#0051AD
Tritanopia (blue-blind)
#006577
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #354eaf;
/* rgb */ color: rgb(53, 78, 175);
/* oklch */ color: oklch(46.2% 0.157 268.6);
Tailwind
colors: {
  custom: {
    50: '#7b7fc8',
    500: '#354eaf',
    950: '#000000',
  },
}
SCSS
$custom: #354eaf;
$custom-light: #7b7fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#354eaf",
  "rgb": {
    "r": 53,
    "g": 78,
    "b": 175
  },
  "hsl": {
    "h": 227.705,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.46198,
    "c": 0.15733,
    "h": 268.6
  },
  "luminance": 0.09301
}

Semantic roles & 50–950 ramp

primary
#354EAF
secondary
#C4B57C
accent
#BF4BDD
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #354EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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