#354F8D#354F8D

#354F8D is a dark, moderate blue. Relative luminance 0.083; OKLCH L 43.9% C 0.107 H 265.2°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#354F8D
RGBrgb(53, 79, 141)
HSLhsl(222, 45%, 38%)
HSVhsv(222, 62%, 55%)
CMYKcmyk(62.4%, 44%, 0%, 44.7%)
CIE-LABlab(34.54, 10.64, -37.43)
CIE-LCHlch(34.54, 38.92, 285.86°)
OKLaboklab(43.93% -0.009 -0.1066)
OKLCHoklch(43.93% 0.107 265.2)
XYZxyz(9.0702, 8.2712, 26.3126)
Luminance0.0827 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#354F8D #8D7335
analogous
#357B8D #354F8D #47358D
triadic
#354F8D #8D354F #4F8D35
tetradic
#354F8D #8D357B #8D7335 #358D47
square
#354F8D #8D357B #8D7335 #358D47
split-complementary
#354F8D #8D4735 #7B8D35
monochromatic
#141D34 #243661 #354F8D #4668B9 #728CCA

Accessibility & contrast

On white

7.91
#354F8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#354F8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #354F8D
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##354F8D#FFFFFF#000000##FFFFFF
##354F8D1.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33568F
Deuteranopia (green-blind)
#264D8C
Tritanopia (blue-blind)
#005D67
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #354f8d;
/* rgb */ color: rgb(53, 79, 141);
/* oklch */ color: oklch(43.9% 0.107 265.2);
Tailwind
colors: {
  custom: {
    50: '#757faf',
    500: '#354f8d',
    950: '#000000',
  },
}
SCSS
$custom: #354f8d;
$custom-light: #757faf;
$custom-dark: #000000;
JSON
{
  "hex": "#354f8d",
  "rgb": {
    "r": 53,
    "g": 79,
    "b": 141
  },
  "hsl": {
    "h": 222.273,
    "s": 45.361,
    "l": 38.039
  },
  "oklch": {
    "l": 0.43933,
    "c": 0.10702,
    "h": 265.2
  },
  "luminance": 0.08272
}

Semantic roles & 50–950 ramp

primary
#354F8D
secondary
#B29D6B
accent
#AF53D5
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #354F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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