#545CE1#545CE1

#545CE1 is a mid, vivid blue. Relative luminance 0.150; OKLCH L 54.6% C 0.199 H 275.0°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#545CE1
RGBrgb(84, 92, 225)
HSLhsl(237, 70%, 61%)
HSVhsv(237, 63%, 88%)
CMYKcmyk(62.7%, 59.1%, 0%, 11.8%)
CIE-LABlab(45.60, 37.10, -68.84)
CIE-LCHlch(45.60, 78.20, 298.32°)
OKLaboklab(54.59% 0.0175 -0.1981)
OKLCHoklch(54.59% 0.199 275)
XYZxyz(21.0694, 14.9736, 72.9994)
Luminance0.1497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545CE1 #E1D954
analogous
#54A2E1 #545CE1 #9254E1
triadic
#545CE1 #E1545C #5CE154
tetradic
#545CE1 #E154A2 #E1D954 #54E192
square
#545CE1 #E154A2 #E1D954 #54E192
split-complementary
#545CE1 #E19254 #A2E154
monochromatic
#1C239F #252FD3 #545CE1 #888EEA #BCBFF3

Accessibility & contrast

On white

5.26
#545CE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#545CE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545CE1
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545CE1#FFFFFF#000000##FFFFFF
##545CE11.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E5
Deuteranopia (green-blind)
#0066DE
Tritanopia (blue-blind)
#007D96
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #545ce1;
/* rgb */ color: rgb(84, 92, 225);
/* oklch */ color: oklch(54.6% 0.199 275.0);
Tailwind
colors: {
  custom: {
    50: '#928aeb',
    500: '#545ce1',
    950: '#000000',
  },
}
SCSS
$custom: #545ce1;
$custom-light: #928aeb;
$custom-dark: #000000;
JSON
{
  "hex": "#545ce1",
  "rgb": {
    "r": 84,
    "g": 92,
    "b": 225
  },
  "hsl": {
    "h": 236.596,
    "s": 70.149,
    "l": 60.588
  },
  "oklch": {
    "l": 0.54586,
    "c": 0.19889,
    "h": 275
  },
  "luminance": 0.14975
}

Semantic roles & 50–950 ramp

primary
#545CE1
secondary
#E3E0AE
accent
#C713D2
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #545CE1

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

Preview Lab → · Contrast checker → · Palette generator →

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