#354EC2#354EC2

#354EC2 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.8% C 0.183 H 269.0°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#354EC2
RGBrgb(53, 78, 194)
HSLhsl(229, 57%, 48%)
HSVhsv(229, 73%, 76%)
CMYKcmyk(72.7%, 59.8%, 0%, 23.9%)
CIE-LABlab(38.02, 30.75, -63.44)
CIE-LCHlch(38.02, 70.50, 295.86°)
OKLaboklab(47.75% -0.0033 -0.1831)
OKLCHoklch(47.75% 0.183 269)
XYZxyz(13.9268, 10.0993, 52.2439)
Luminance0.1010 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#354EC2 #C2A935
analogous
#3594C2 #354EC2 #6235C2
triadic
#354EC2 #C2354E #4EC235
tetradic
#354EC2 #C23594 #C2A935 #35C262
square
#354EC2 #C23594 #C2A935 #35C262
split-complementary
#354EC2 #C26235 #94C235
monochromatic
#1B2762 #283B92 #354EC2 #6075D4 #919FE1

Accessibility & contrast

On white

6.95
#354EC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#354EC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #354EC2
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##354EC2#FFFFFF#000000##FFFFFF
##354EC21.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C6
Deuteranopia (green-blind)
#0053C0
Tritanopia (blue-blind)
#006B80
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #354ec2;
/* rgb */ color: rgb(53, 78, 194);
/* oklch */ color: oklch(47.8% 0.183 269.0);
Tailwind
colors: {
  custom: {
    50: '#807fd5',
    500: '#354ec2',
    950: '#000000',
  },
}
SCSS
$custom: #354ec2;
$custom-light: #807fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#354ec2",
  "rgb": {
    "r": 53,
    "g": 78,
    "b": 194
  },
  "hsl": {
    "h": 229.362,
    "s": 57.085,
    "l": 48.431
  },
  "oklch": {
    "l": 0.47753,
    "c": 0.18314,
    "h": 269
  },
  "luminance": 0.10101
}

Semantic roles & 50–950 ramp

primary
#354EC2
secondary
#CCBF87
accent
#C547E0
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #354EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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