#545BE6#545BE6

#545BE6 is a mid, highly saturated blue. Relative luminance 0.151; OKLCH L 54.8% C 0.207 H 275.1°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#545BE6
RGBrgb(84, 91, 230)
HSLhsl(237, 74%, 62%)
HSVhsv(237, 63%, 90%)
CMYKcmyk(63.5%, 60.4%, 0%, 9.8%)
CIE-LABlab(45.74, 39.35, -71.44)
CIE-LCHlch(45.74, 81.56, 298.85°)
OKLaboklab(54.81% 0.0182 -0.2058)
OKLCHoklch(54.81% 0.207 275.1)
XYZxyz(21.6755, 15.0783, 76.6157)
Luminance0.1508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545BE6 #E6DF54
analogous
#54A4E6 #545BE6 #9654E6
triadic
#545BE6 #E6545B #5BE654
tetradic
#545BE6 #E654A4 #E6DF54 #54E696
square
#545BE6 #E654A4 #E6DF54 #54E696
split-complementary
#545BE6 #E69654 #A4E654
monochromatic
#181FA7 #2029DD #545BE6 #898EEE #BFC1F6

Accessibility & contrast

On white

5.23
#545BE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#545BE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545BE6
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545BE6#FFFFFF#000000##FFFFFF
##545BE61.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EB
Deuteranopia (green-blind)
#0066E3
Tritanopia (blue-blind)
#007E98
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #545be6;
/* rgb */ color: rgb(84, 91, 230);
/* oklch */ color: oklch(54.8% 0.207 275.1);
Tailwind
colors: {
  custom: {
    50: '#9389ef',
    500: '#545be6',
    950: '#000000',
  },
}
SCSS
$custom: #545be6;
$custom-light: #9389ef;
$custom-dark: #000000;
JSON
{
  "hex": "#545be6",
  "rgb": {
    "r": 84,
    "g": 91,
    "b": 230
  },
  "hsl": {
    "h": 237.123,
    "s": 74.49,
    "l": 61.569
  },
  "oklch": {
    "l": 0.54811,
    "c": 0.20656,
    "h": 275.1
  },
  "luminance": 0.1508
}

Semantic roles & 50–950 ramp

primary
#545BE6
secondary
#E6E3B0
accent
#CD0FD7
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #545BE6

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

Preview Lab → · Contrast checker → · Palette generator →

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