#354EC4#354EC4

#354EC4 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.9% C 0.186 H 269.0°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#354EC4
RGBrgb(53, 78, 196)
HSLhsl(230, 57%, 49%)
HSVhsv(230, 73%, 77%)
CMYKcmyk(73%, 60.2%, 0%, 23.1%)
CIE-LABlab(38.18, 31.48, -64.34)
CIE-LCHlch(38.18, 71.63, 296.07°)
OKLaboklab(47.92% -0.0033 -0.1858)
OKLCHoklch(47.92% 0.186 269)
XYZxyz(14.1530, 10.1897, 53.4348)
Luminance0.1019 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#354EC4 #C4AB35
analogous
#3596C4 #354EC4 #6335C4
triadic
#354EC4 #C4354E #4EC435
tetradic
#354EC4 #C43596 #C4AB35 #35C463
square
#354EC4 #C43596 #C4AB35 #35C463
split-complementary
#354EC4 #C46335 #96C435
monochromatic
#1B2864 #283B94 #354EC4 #6276D4 #92A0E1

Accessibility & contrast

On white

6.91
#354EC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#354EC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #354EC4
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##354EC4#FFFFFF#000000##FFFFFF
##354EC41.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C8
Deuteranopia (green-blind)
#0053C2
Tritanopia (blue-blind)
#006C81
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #354ec4;
/* rgb */ color: rgb(53, 78, 196);
/* oklch */ color: oklch(47.9% 0.186 269.0);
Tailwind
colors: {
  custom: {
    50: '#807fd7',
    500: '#354ec4',
    950: '#000000',
  },
}
SCSS
$custom: #354ec4;
$custom-light: #807fd7;
$custom-dark: #000000;
JSON
{
  "hex": "#354ec4",
  "rgb": {
    "r": 53,
    "g": 78,
    "b": 196
  },
  "hsl": {
    "h": 229.51,
    "s": 57.43,
    "l": 48.824
  },
  "oklch": {
    "l": 0.47923,
    "c": 0.18579,
    "h": 269
  },
  "luminance": 0.10191
}

Semantic roles & 50–950 ramp

primary
#354EC4
secondary
#CCC188
accent
#C647E1
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #354EC4

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

Preview Lab → · Contrast checker → · Palette generator →

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