#354AC6#354AC6

#354AC6 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.4% C 0.193 H 269.8°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#354AC6
RGBrgb(53, 74, 198)
HSLhsl(231, 58%, 49%)
HSVhsv(231, 73%, 78%)
CMYKcmyk(73.2%, 62.6%, 0%, 22.4%)
CIE-LABlab(37.35, 34.75, -66.86)
CIE-LCHlch(37.35, 75.35, 297.47°)
OKLaboklab(47.36% -0.0006 -0.1932)
OKLCHoklch(47.36% 0.193 269.8)
XYZxyz(14.1065, 9.7302, 54.5498)
Luminance0.0973 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#354AC6 #C6B135
analogous
#3593C6 #354AC6 #6835C6
triadic
#354AC6 #C6354A #4AC635
tetradic
#354AC6 #C63593 #C6B135 #35C668
square
#354AC6 #C63593 #C6B135 #35C668
split-complementary
#354AC6 #C66835 #93C635
monochromatic
#1B2665 #283896 #354AC6 #6374D5 #939FE2

Accessibility & contrast

On white

7.13
#354AC6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#354AC6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #354AC6
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##354AC6#FFFFFF#000000##FFFFFF
##354AC61.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCA
Deuteranopia (green-blind)
#0051C4
Tritanopia (blue-blind)
#006A81
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #354ac6;
/* rgb */ color: rgb(53, 74, 198);
/* oklch */ color: oklch(47.4% 0.193 269.8);
Tailwind
colors: {
  custom: {
    50: '#817cd8',
    500: '#354ac6',
    950: '#000000',
  },
}
SCSS
$custom: #354ac6;
$custom-light: #817cd8;
$custom-dark: #000000;
JSON
{
  "hex": "#354ac6",
  "rgb": {
    "r": 53,
    "g": 74,
    "b": 198
  },
  "hsl": {
    "h": 231.31,
    "s": 57.769,
    "l": 49.216
  },
  "oklch": {
    "l": 0.47362,
    "c": 0.19318,
    "h": 269.8
  },
  "luminance": 0.09732
}

Semantic roles & 50–950 ramp

primary
#354AC6
secondary
#CDC38A
accent
#CB47E1
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #354AC6

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

Preview Lab → · Contrast checker → · Palette generator →

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