#354FAC#354FAC

#354FAC is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.2% C 0.152 H 268.1°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#354FAC
RGBrgb(53, 79, 172)
HSLhsl(227, 53%, 44%)
HSVhsv(227, 69%, 67%)
CMYKcmyk(69.2%, 54.1%, 0%, 32.5%)
CIE-LABlab(36.61, 22.04, -52.79)
CIE-LCHlch(36.61, 57.20, 292.66°)
OKLaboklab(46.17% -0.0049 -0.1518)
OKLCHoklch(46.17% 0.152 268.1)
XYZxyz(11.7080, 9.3263, 40.2049)
Luminance0.0933 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#354FAC #AC9235
analogous
#358BAC #354FAC #5735AC
triadic
#354FAC #AC354F #4FAC35
tetradic
#354FAC #AC358B #AC9235 #35AC57
square
#354FAC #AC358B #AC9235 #35AC57
split-complementary
#354FAC #AC5735 #8BAC35
monochromatic
#18244E #273A7D #354FAC #546ECA #8395D9

Accessibility & contrast

On white

7.33
#354FAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#354FAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #354FAC
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##354FAC#FFFFFF#000000##FFFFFF
##354FAC1.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B5CAF
Deuteranopia (green-blind)
#0051AA
Tritanopia (blue-blind)
#006576
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #354fac;
/* rgb */ color: rgb(53, 79, 172);
/* oklch */ color: oklch(46.2% 0.152 268.1);
Tailwind
colors: {
  custom: {
    50: '#7b7fc5',
    500: '#354fac',
    950: '#000000',
  },
}
SCSS
$custom: #354fac;
$custom-light: #7b7fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#354fac",
  "rgb": {
    "r": 53,
    "g": 79,
    "b": 172
  },
  "hsl": {
    "h": 226.891,
    "s": 52.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.46167,
    "c": 0.15186,
    "h": 268.1
  },
  "luminance": 0.09327
}

Semantic roles & 50–950 ramp

primary
#354FAC
secondary
#C2B37B
accent
#BD4CDC
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #354FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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