#354EA6#354EA6

#354EA6 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.5% C 0.145 H 268.2°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#354EA6
RGBrgb(53, 78, 166)
HSLhsl(227, 52%, 43%)
HSVhsv(227, 68%, 65%)
CMYKcmyk(68.1%, 53%, 0%, 34.9%)
CIE-LABlab(35.90, 20.48, -50.35)
CIE-LCHlch(35.90, 54.35, 292.14°)
OKLaboklab(45.5% -0.0045 -0.1446)
OKLCHoklch(45.5% 0.145 268.2)
XYZxyz(11.0732, 8.9578, 37.2145)
Luminance0.0896 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#354EA6 #A68D35
analogous
#3586A6 #354EA6 #5535A6
triadic
#354EA6 #A6354E #4EA635
tetradic
#354EA6 #A63586 #A68D35 #35A655
square
#354EA6 #A63586 #A68D35 #35A655
split-complementary
#354EA6 #A65535 #86A635
monochromatic
#172249 #263878 #354EA6 #516BC7 #7F92D6

Accessibility & contrast

On white

7.52
#354EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#354EA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #354EA6
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##354EA6#FFFFFF#000000##FFFFFF
##354EA61.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#155AA9
Deuteranopia (green-blind)
#0050A4
Tritanopia (blue-blind)
#006372
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #354ea6;
/* rgb */ color: rgb(53, 78, 166);
/* oklch */ color: oklch(45.5% 0.145 268.2);
Tailwind
colors: {
  custom: {
    50: '#7a7fc1',
    500: '#354ea6',
    950: '#000000',
  },
}
SCSS
$custom: #354ea6;
$custom-light: #7a7fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#354ea6",
  "rgb": {
    "r": 53,
    "g": 78,
    "b": 166
  },
  "hsl": {
    "h": 226.726,
    "s": 51.598,
    "l": 42.941
  },
  "oklch": {
    "l": 0.455,
    "c": 0.14469,
    "h": 268.2
  },
  "luminance": 0.08959
}

Semantic roles & 50–950 ramp

primary
#354EA6
secondary
#BFAF77
accent
#BC4DDB
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #354EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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