#354EC1#354EC1

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

Color values

HEX#354EC1
RGBrgb(53, 78, 193)
HSLhsl(229, 57%, 48%)
HSVhsv(229, 73%, 76%)
CMYKcmyk(72.5%, 59.6%, 0%, 24.3%)
CIE-LABlab(37.94, 30.39, -62.98)
CIE-LCHlch(37.94, 69.93, 295.76°)
OKLaboklab(47.67% -0.0033 -0.1818)
OKLCHoklch(47.67% 0.182 269)
XYZxyz(13.8149, 10.0545, 51.6544)
Luminance0.1006 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#354EC1 #C1A835
analogous
#3594C1 #354EC1 #6235C1
triadic
#354EC1 #C1354E #4EC135
tetradic
#354EC1 #C13594 #C1A835 #35C162
square
#354EC1 #C13594 #C1A835 #35C162
split-complementary
#354EC1 #C16235 #94C135
monochromatic
#1B2761 #283B91 #354EC1 #6075D3 #909EE0

Accessibility & contrast

On white

6.97
#354EC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#354EC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #354EC1
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##354EC1#FFFFFF#000000##FFFFFF
##354EC11.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #354ec1;
/* rgb */ color: rgb(53, 78, 193);
/* oklch */ color: oklch(47.7% 0.182 269.0);
Tailwind
colors: {
  custom: {
    50: '#7f7fd5',
    500: '#354ec1',
    950: '#000000',
  },
}
SCSS
$custom: #354ec1;
$custom-light: #7f7fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#354ec1",
  "rgb": {
    "r": 53,
    "g": 78,
    "b": 193
  },
  "hsl": {
    "h": 229.286,
    "s": 56.911,
    "l": 48.235
  },
  "oklch": {
    "l": 0.47669,
    "c": 0.18181,
    "h": 269
  },
  "luminance": 0.10056
}

Semantic roles & 50–950 ramp

primary
#354EC1
secondary
#CBBF87
accent
#C548E0
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #354EC1

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

Preview Lab → · Contrast checker → · Palette generator →

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