#545EDB#545EDB

#545EDB is a mid, vivid blue. Relative luminance 0.150; OKLCH L 54.5% C 0.189 H 274.8°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#545EDB
RGBrgb(84, 94, 219)
HSLhsl(236, 65%, 59%)
HSVhsv(236, 62%, 86%)
CMYKcmyk(61.6%, 57.1%, 0%, 14.1%)
CIE-LABlab(45.64, 33.88, -65.37)
CIE-LCHlch(45.64, 73.63, 297.40°)
OKLaboklab(54.48% 0.0158 -0.1879)
OKLCHoklch(54.48% 0.189 274.8)
XYZxyz(20.4408, 15.0030, 68.8228)
Luminance0.1500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545EDB #DBD154
analogous
#54A1DB #545EDB #8E54DB
triadic
#545EDB #DB545E #5EDB54
tetradic
#545EDB #DB54A1 #DBD154 #54DB8E
square
#545EDB #DB54A1 #DBD154 #54DB8E
split-complementary
#545EDB #DB8E54 #A1DB54
monochromatic
#1F2895 #2A36C8 #545EDB #878EE6 #B9BDF0

Accessibility & contrast

On white

5.25
#545EDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#545EDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545EDB
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545EDB#FFFFFF#000000##FFFFFF
##545EDB1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DF
Deuteranopia (green-blind)
#0066D8
Tritanopia (blue-blind)
#007C93
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #545edb;
/* rgb */ color: rgb(84, 94, 219);
/* oklch */ color: oklch(54.5% 0.189 274.8);
Tailwind
colors: {
  custom: {
    50: '#918be7',
    500: '#545edb',
    950: '#000000',
  },
}
SCSS
$custom: #545edb;
$custom-light: #918be7;
$custom-dark: #000000;
JSON
{
  "hex": "#545edb",
  "rgb": {
    "r": 84,
    "g": 94,
    "b": 219
  },
  "hsl": {
    "h": 235.556,
    "s": 65.217,
    "l": 59.412
  },
  "oklch": {
    "l": 0.54478,
    "c": 0.18855,
    "h": 274.8
  },
  "luminance": 0.15005
}

Semantic roles & 50–950 ramp

primary
#545EDB
secondary
#E0DCAB
accent
#DC40E8
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #545EDB

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

Preview Lab → · Contrast checker → · Palette generator →

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