#354FC2#354FC2

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

Color values

HEX#354FC2
RGBrgb(53, 79, 194)
HSLhsl(229, 57%, 48%)
HSVhsv(229, 73%, 76%)
CMYKcmyk(72.7%, 59.3%, 0%, 23.9%)
CIE-LABlab(38.27, 30.11, -63.02)
CIE-LCHlch(38.27, 69.85, 295.54°)
OKLaboklab(47.94% -0.004 -0.1819)
OKLCHoklch(47.94% 0.182 268.7)
XYZxyz(13.9984, 10.2424, 52.2677)
Luminance0.1024 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#354FC2 #C2A835
analogous
#3595C2 #354FC2 #6135C2
triadic
#354FC2 #C2354F #4FC235
tetradic
#354FC2 #C23595 #C2A835 #35C261
square
#354FC2 #C23595 #C2A835 #35C261
split-complementary
#354FC2 #C26135 #95C235
monochromatic
#1B2862 #283B92 #354FC2 #6076D4 #919FE1

Accessibility & contrast

On white

6.89
#354FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#354FC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #354FC2
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##354FC2#FFFFFF#000000##FFFFFF
##354FC21.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C6
Deuteranopia (green-blind)
#0054C0
Tritanopia (blue-blind)
#006C81
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #354fc2;
/* rgb */ color: rgb(53, 79, 194);
/* oklch */ color: oklch(47.9% 0.182 268.7);
Tailwind
colors: {
  custom: {
    50: '#7f80d5',
    500: '#354fc2',
    950: '#000000',
  },
}
SCSS
$custom: #354fc2;
$custom-light: #7f80d5;
$custom-dark: #000000;
JSON
{
  "hex": "#354fc2",
  "rgb": {
    "r": 53,
    "g": 79,
    "b": 194
  },
  "hsl": {
    "h": 228.936,
    "s": 57.085,
    "l": 48.431
  },
  "oklch": {
    "l": 0.47942,
    "c": 0.18192,
    "h": 268.7
  },
  "luminance": 0.10244
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #354FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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