#354FBA#354FBA

#354FBA is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.3% C 0.171 H 268.6°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#354FBA
RGBrgb(53, 79, 186)
HSLhsl(228, 56%, 47%)
HSVhsv(228, 72%, 73%)
CMYKcmyk(71.5%, 57.5%, 0%, 27.1%)
CIE-LABlab(37.65, 27.19, -59.36)
CIE-LCHlch(37.65, 65.29, 294.61°)
OKLaboklab(47.28% -0.0042 -0.1711)
OKLCHoklch(47.28% 0.171 268.6)
XYZxyz(13.1241, 9.8927, 47.6627)
Luminance0.0989 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#354FBA #BAA035
analogous
#3592BA #354FBA #5E35BA
triadic
#354FBA #BA354F #4FBA35
tetradic
#354FBA #BA3592 #BAA035 #35BA5E
square
#354FBA #BA3592 #BAA035 #35BA5E
split-complementary
#354FBA #BA5E35 #92BA35
monochromatic
#1A275B #273B8A #354FBA #5C73D0 #8B9CDE

Accessibility & contrast

On white

7.05
#354FBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#354FBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #354FBA
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##354FBA#FFFFFF#000000##FFFFFF
##354FBA1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBE
Deuteranopia (green-blind)
#0053B8
Tritanopia (blue-blind)
#00697D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #354fba;
/* rgb */ color: rgb(53, 79, 186);
/* oklch */ color: oklch(47.3% 0.171 268.6);
Tailwind
colors: {
  custom: {
    50: '#7e80d0',
    500: '#354fba',
    950: '#000000',
  },
}
SCSS
$custom: #354fba;
$custom-light: #7e80d0;
$custom-dark: #000000;
JSON
{
  "hex": "#354fba",
  "rgb": {
    "r": 53,
    "g": 79,
    "b": 186
  },
  "hsl": {
    "h": 228.271,
    "s": 55.649,
    "l": 46.863
  },
  "oklch": {
    "l": 0.4728,
    "c": 0.17117,
    "h": 268.6
  },
  "luminance": 0.09894
}

Semantic roles & 50–950 ramp

primary
#354FBA
secondary
#C8BB82
accent
#C249DF
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #354FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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