#545AEB#545AEB

#545AEB is a mid, highly saturated blue. Relative luminance 0.152; OKLCH L 55.0% C 0.214 H 275.0°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#545AEB
RGBrgb(84, 90, 235)
HSLhsl(238, 79%, 63%)
HSVhsv(238, 64%, 92%)
CMYKcmyk(64.3%, 61.7%, 0%, 7.8%)
CIE-LABlab(45.90, 41.60, -74.00)
CIE-LCHlch(45.90, 84.89, 299.34°)
OKLaboklab(55.05% 0.0188 -0.2133)
OKLCHoklch(55.05% 0.214 275)
XYZxyz(22.3028, 15.1934, 80.3384)
Luminance0.1520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545AEB #EBE554
analogous
#54A5EB #545AEB #9A54EB
triadic
#545AEB #EB545A #5AEB54
tetradic
#545AEB #EB54A5 #EBE554 #54EB9A
square
#545AEB #EB54A5 #EBE554 #54EB9A
split-complementary
#545AEB #EB9A54 #A5EB54
monochromatic
#151BB0 #1D25E5 #545AEB #8B8FF1 #C2C4F8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##545AEB#FFFFFF#000000##FFFFFF
##545AEB1.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)
#0073F0
Deuteranopia (green-blind)
#0066E8
Tritanopia (blue-blind)
#007F9A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #545aeb;
/* rgb */ color: rgb(84, 90, 235);
/* oklch */ color: oklch(55.0% 0.214 275.0);
Tailwind
colors: {
  custom: {
    50: '#9489f2',
    500: '#545aeb',
    950: '#000000',
  },
}
SCSS
$custom: #545aeb;
$custom-light: #9489f2;
$custom-dark: #000000;
JSON
{
  "hex": "#545aeb",
  "rgb": {
    "r": 84,
    "g": 90,
    "b": 235
  },
  "hsl": {
    "h": 237.616,
    "s": 79.058,
    "l": 62.549
  },
  "oklch": {
    "l": 0.55047,
    "c": 0.21412,
    "h": 275
  },
  "luminance": 0.15195
}

Semantic roles & 50–950 ramp

primary
#545AEB
secondary
#E9E7B2
accent
#D30ADB
background
#F9F8FF
surface
#F2F0FE
border
#CCCBD6
text
#0F0B17
muted
#7E7C85

Preview Lab

Preview with #545AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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