#545DE2#545DE2

#545DE2 is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.8% C 0.199 H 274.8°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#545DE2
RGBrgb(84, 93, 226)
HSLhsl(236, 71%, 61%)
HSVhsv(236, 63%, 89%)
CMYKcmyk(62.8%, 58.8%, 0%, 11.4%)
CIE-LABlab(45.91, 36.82, -68.90)
CIE-LCHlch(45.91, 78.12, 298.12°)
OKLaboklab(54.84% 0.0166 -0.1983)
OKLCHoklch(54.84% 0.199 274.8)
XYZxyz(21.2935, 15.2027, 73.7491)
Luminance0.1520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545DE2 #E2D954
analogous
#54A4E2 #545DE2 #9254E2
triadic
#545DE2 #E2545D #5DE254
tetradic
#545DE2 #E254A4 #E2D954 #54E292
square
#545DE2 #E254A4 #E2D954 #54E292
split-complementary
#545DE2 #E29254 #A4E254
monochromatic
#1B24A0 #242FD5 #545DE2 #888FEB #BDC0F4

Accessibility & contrast

On white

5.20
#545DE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#545DE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545DE2
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545DE2#FFFFFF#000000##FFFFFF
##545DE21.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #545de2;
/* rgb */ color: rgb(84, 93, 226);
/* oklch */ color: oklch(54.8% 0.199 274.8);
Tailwind
colors: {
  custom: {
    50: '#928bec',
    500: '#545de2',
    950: '#000000',
  },
}
SCSS
$custom: #545de2;
$custom-light: #928bec;
$custom-dark: #000000;
JSON
{
  "hex": "#545de2",
  "rgb": {
    "r": 84,
    "g": 93,
    "b": 226
  },
  "hsl": {
    "h": 236.197,
    "s": 71,
    "l": 60.784
  },
  "oklch": {
    "l": 0.54841,
    "c": 0.19897,
    "h": 274.8
  },
  "luminance": 0.15205
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #545DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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