#545CE0#545CE0

#545CE0 is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.5% C 0.198 H 275.1°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#545CE0
RGBrgb(84, 92, 224)
HSLhsl(237, 69%, 60%)
HSVhsv(237, 63%, 88%)
CMYKcmyk(62.5%, 58.9%, 0%, 12.2%)
CIE-LABlab(45.52, 36.76, -68.40)
CIE-LCHlch(45.52, 77.65, 298.26°)
OKLaboklab(54.51% 0.0175 -0.1968)
OKLCHoklch(54.51% 0.198 275.1)
XYZxyz(20.9334, 14.9192, 72.2831)
Luminance0.1492 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545CE0 #E0D854
analogous
#54A2E0 #545CE0 #9254E0
triadic
#545CE0 #E0545C #5CE054
tetradic
#545CE0 #E054A2 #E0D854 #54E092
square
#545CE0 #E054A2 #E0D854 #54E092
split-complementary
#545CE0 #E09254 #A2E054
monochromatic
#1C249D #2630D1 #545CE0 #888DE9 #BCBFF3

Accessibility & contrast

On white

5.27
#545CE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#545CE0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545CE0
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545CE0#FFFFFF#000000##FFFFFF
##545CE01.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E4
Deuteranopia (green-blind)
#0066DD
Tritanopia (blue-blind)
#007C95
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #545ce0;
/* rgb */ color: rgb(84, 92, 224);
/* oklch */ color: oklch(54.5% 0.198 275.1);
Tailwind
colors: {
  custom: {
    50: '#928aeb',
    500: '#545ce0',
    950: '#000000',
  },
}
SCSS
$custom: #545ce0;
$custom-light: #928aeb;
$custom-dark: #000000;
JSON
{
  "hex": "#545ce0",
  "rgb": {
    "r": 84,
    "g": 92,
    "b": 224
  },
  "hsl": {
    "h": 236.571,
    "s": 69.307,
    "l": 60.392
  },
  "oklch": {
    "l": 0.54508,
    "c": 0.19759,
    "h": 275.1
  },
  "luminance": 0.14921
}

Semantic roles & 50–950 ramp

primary
#545CE0
secondary
#E3E0AD
accent
#C614D1
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #545CE0

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

Preview Lab → · Contrast checker → · Palette generator →

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