#354FC7#354FC7

#354FC7 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.4% C 0.189 H 268.8°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#354FC7
RGBrgb(53, 79, 199)
HSLhsl(229, 58%, 49%)
HSVhsv(229, 73%, 78%)
CMYKcmyk(73.4%, 60.3%, 0%, 22%)
CIE-LABlab(38.67, 31.92, -65.28)
CIE-LCHlch(38.67, 72.67, 296.06°)
OKLaboklab(48.37% -0.004 -0.1885)
OKLCHoklch(48.37% 0.189 268.8)
XYZxyz(14.5694, 10.4708, 55.2750)
Luminance0.1047 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#354FC7 #C7AD35
analogous
#3598C7 #354FC7 #6435C7
triadic
#354FC7 #C7354F #4FC735
tetradic
#354FC7 #C73598 #C7AD35 #35C764
square
#354FC7 #C73598 #C7AD35 #35C764
split-complementary
#354FC7 #C76435 #98C735
monochromatic
#1B2966 #283C97 #354FC7 #6478D6 #94A2E2

Accessibility & contrast

On white

6.79
#354FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#354FC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #354FC7
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##354FC7#FFFFFF#000000##FFFFFF
##354FC71.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CB
Deuteranopia (green-blind)
#0054C5
Tritanopia (blue-blind)
#006D83
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #354fc7;
/* rgb */ color: rgb(53, 79, 199);
/* oklch */ color: oklch(48.4% 0.189 268.8);
Tailwind
colors: {
  custom: {
    50: '#8180d9',
    500: '#354fc7',
    950: '#000000',
  },
}
SCSS
$custom: #354fc7;
$custom-light: #8180d9;
$custom-dark: #000000;
JSON
{
  "hex": "#354fc7",
  "rgb": {
    "r": 53,
    "g": 79,
    "b": 199
  },
  "hsl": {
    "h": 229.315,
    "s": 57.937,
    "l": 49.412
  },
  "oklch": {
    "l": 0.48365,
    "c": 0.18854,
    "h": 268.8
  },
  "luminance": 0.10472
}

Semantic roles & 50–950 ramp

primary
#354FC7
secondary
#CEC28A
accent
#C647E1
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #354FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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