#354FAF#354FAF

#354FAF is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.4% C 0.156 H 268.3°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#354FAF
RGBrgb(53, 79, 175)
HSLhsl(227, 54%, 45%)
HSVhsv(227, 70%, 69%)
CMYKcmyk(69.7%, 54.9%, 0%, 31.4%)
CIE-LABlab(36.82, 23.14, -54.21)
CIE-LCHlch(36.82, 58.94, 293.12°)
OKLaboklab(46.4% -0.0047 -0.156)
OKLCHoklch(46.4% 0.156 268.3)
XYZxyz(11.9994, 9.4428, 41.7394)
Luminance0.0944 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#354FAF #AF9535
analogous
#358CAF #354FAF #5835AF
triadic
#354FAF #AF354F #4FAF35
tetradic
#354FAF #AF358C #AF9535 #35AF58
square
#354FAF #AF358C #AF9535 #35AF58
split-complementary
#354FAF #AF5835 #8CAF35
monochromatic
#192551 #273A80 #354FAF #566FCC #8597DA

Accessibility & contrast

On white

7.27
#354FAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#354FAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #354FAF
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##354FAF#FFFFFF#000000##FFFFFF
##354FAF1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #354faf;
/* rgb */ color: rgb(53, 79, 175);
/* oklch */ color: oklch(46.4% 0.156 268.3);
Tailwind
colors: {
  custom: {
    50: '#7b7fc8',
    500: '#354faf',
    950: '#000000',
  },
}
SCSS
$custom: #354faf;
$custom-light: #7b7fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#354faf",
  "rgb": {
    "r": 53,
    "g": 79,
    "b": 175
  },
  "hsl": {
    "h": 227.213,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.464,
    "c": 0.15605,
    "h": 268.3
  },
  "luminance": 0.09444
}

Semantic roles & 50–950 ramp

primary
#354FAF
secondary
#C4B47C
accent
#BE4BDD
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #354FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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