#545CEF#545CEF

#545CEF is a mid, highly saturated blue. Relative luminance 0.158; OKLCH L 55.7% C 0.217 H 274.5°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#545CEF
RGBrgb(84, 92, 239)
HSLhsl(237, 83%, 63%)
HSVhsv(237, 65%, 94%)
CMYKcmyk(64.9%, 61.5%, 0%, 6.3%)
CIE-LABlab(46.67, 41.71, -74.99)
CIE-LCHlch(46.67, 85.81, 299.08°)
OKLaboklab(55.71% 0.017 -0.2162)
OKLCHoklch(55.71% 0.217 274.5)
XYZxyz(23.0581, 15.7691, 83.4732)
Luminance0.1577 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545CEF #EFE754
analogous
#54A9EF #545CEF #9954EF
triadic
#545CEF #EF545C #5CEF54
tetradic
#545CEF #EF54A9 #EFE754 #54EF99
square
#545CEF #EF54A9 #EFE754 #54EF99
split-complementary
#545CEF #EF9954 #A9EF54
monochromatic
#111AB7 #1C27EA #545CEF #8C91F4 #C4C7F9

Accessibility & contrast

On white

5.06
#545CEF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#545CEF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545CEF
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545CEF#FFFFFF#000000##FFFFFF
##545CEF1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F4
Deuteranopia (green-blind)
#0068EC
Tritanopia (blue-blind)
#00819D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #545cef;
/* rgb */ color: rgb(84, 92, 239);
/* oklch */ color: oklch(55.7% 0.217 274.5);
Tailwind
colors: {
  custom: {
    50: '#958af5',
    500: '#545cef',
    950: '#000000',
  },
}
SCSS
$custom: #545cef;
$custom-light: #958af5;
$custom-dark: #000000;
JSON
{
  "hex": "#545cef",
  "rgb": {
    "r": 84,
    "g": 92,
    "b": 239
  },
  "hsl": {
    "h": 236.903,
    "s": 82.888,
    "l": 63.333
  },
  "oklch": {
    "l": 0.55711,
    "c": 0.21686,
    "h": 274.5
  },
  "luminance": 0.15771
}

Semantic roles & 50–950 ramp

primary
#545CEF
secondary
#EBE8B4
accent
#D406DF
background
#FAF8FF
surface
#F3F0FF
border
#CDCBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #545CEF

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

Preview Lab → · Contrast checker → · Palette generator →

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