#545EE2#545EE2

#545EE2 is a mid, vivid blue. Relative luminance 0.154; OKLCH L 55.0% C 0.198 H 274.6°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#545EE2
RGBrgb(84, 94, 226)
HSLhsl(236, 71%, 61%)
HSVhsv(236, 63%, 89%)
CMYKcmyk(62.8%, 58.4%, 0%, 11.4%)
CIE-LABlab(46.15, 36.21, -68.51)
CIE-LCHlch(46.15, 77.49, 297.86°)
OKLaboklab(55.02% 0.0158 -0.1971)
OKLCHoklch(55.02% 0.198 274.6)
XYZxyz(21.3818, 15.3794, 73.7785)
Luminance0.1538 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545EE2 #E2D854
analogous
#54A5E2 #545EE2 #9154E2
triadic
#545EE2 #E2545E #5EE254
tetradic
#545EE2 #E254A5 #E2D854 #54E291
square
#545EE2 #E254A5 #E2D854 #54E291
split-complementary
#545EE2 #E29154 #A5E254
monochromatic
#1B25A0 #2431D5 #545EE2 #888FEB #BDC1F4

Accessibility & contrast

On white

5.15
#545EE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#545EE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545EE2
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545EE2#FFFFFF#000000##FFFFFF
##545EE21.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E6
Deuteranopia (green-blind)
#0067DF
Tritanopia (blue-blind)
#007E97
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #545ee2;
/* rgb */ color: rgb(84, 94, 226);
/* oklch */ color: oklch(55.0% 0.198 274.6);
Tailwind
colors: {
  custom: {
    50: '#928bec',
    500: '#545ee2',
    950: '#000000',
  },
}
SCSS
$custom: #545ee2;
$custom-light: #928bec;
$custom-dark: #000000;
JSON
{
  "hex": "#545ee2",
  "rgb": {
    "r": 84,
    "g": 94,
    "b": 226
  },
  "hsl": {
    "h": 235.775,
    "s": 71,
    "l": 60.784
  },
  "oklch": {
    "l": 0.55018,
    "c": 0.19776,
    "h": 274.6
  },
  "luminance": 0.15381
}

Semantic roles & 50–950 ramp

primary
#545EE2
secondary
#E4E0AE
accent
#C512D3
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #545EE2

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

Preview Lab → · Contrast checker → · Palette generator →

#545EE2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva