#3454B2#3454B2

#3454B2 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.6% C 0.154 H 266.4°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#3454B2
RGBrgb(52, 84, 178)
HSLhsl(225, 55%, 45%)
HSVhsv(225, 71%, 70%)
CMYKcmyk(70.8%, 52.8%, 0%, 30.2%)
CIE-LABlab(38.35, 20.82, -53.52)
CIE-LCHlch(38.35, 57.43, 291.26°)
OKLaboklab(47.61% -0.0097 -0.1539)
OKLCHoklch(47.61% 0.154 266.4)
XYZxyz(12.6196, 10.2838, 43.4307)
Luminance0.1028 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3454B2 #B29234
analogous
#3493B2 #3454B2 #5334B2
triadic
#3454B2 #B23454 #54B234
tetradic
#3454B2 #B23493 #B29234 #34B253
square
#3454B2 #B23493 #B29234 #34B253
split-complementary
#3454B2 #B25334 #93B234
monochromatic
#182753 #263E83 #3454B2 #5674CE #859BDB

Accessibility & contrast

On white

6.87
#3454B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#3454B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3454B2
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3454B2#FFFFFF#000000##FFFFFF
##3454B21.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1560B5
Deuteranopia (green-blind)
#0055B0
Tritanopia (blue-blind)
#006A7B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3454b2;
/* rgb */ color: rgb(52, 84, 178);
/* oklch */ color: oklch(47.6% 0.154 266.4);
Tailwind
colors: {
  custom: {
    50: '#7b83ca',
    500: '#3454b2',
    950: '#000000',
  },
}
SCSS
$custom: #3454b2;
$custom-light: #7b83ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3454b2",
  "rgb": {
    "r": 52,
    "g": 84,
    "b": 178
  },
  "hsl": {
    "h": 224.762,
    "s": 54.783,
    "l": 45.098
  },
  "oklch": {
    "l": 0.47606,
    "c": 0.1542,
    "h": 266.4
  },
  "luminance": 0.10285
}

Semantic roles & 50–950 ramp

primary
#3454B2
secondary
#C5B37D
accent
#B84ADE
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3454B2

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

Preview Lab → · Contrast checker → · Palette generator →

#3454B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva