#545CE2#545CE2

#545CE2 is a mid, highly saturated blue. Relative luminance 0.150; OKLCH L 54.7% C 0.200 H 275.0°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#545CE2
RGBrgb(84, 92, 226)
HSLhsl(237, 71%, 61%)
HSVhsv(237, 63%, 89%)
CMYKcmyk(62.8%, 59.3%, 0%, 11.4%)
CIE-LABlab(45.67, 37.43, -69.29)
CIE-LCHlch(45.67, 78.75, 298.38°)
OKLaboklab(54.67% 0.0175 -0.1994)
OKLCHoklch(54.67% 0.2 275)
XYZxyz(21.2063, 15.0283, 73.7200)
Luminance0.1503 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545CE2 #E2DA54
analogous
#54A3E2 #545CE2 #9354E2
triadic
#545CE2 #E2545C #5CE254
tetradic
#545CE2 #E254A3 #E2DA54 #54E293
square
#545CE2 #E254A3 #E2DA54 #54E293
split-complementary
#545CE2 #E29354 #A3E254
monochromatic
#1B23A0 #242ED5 #545CE2 #888EEB #BDC0F4

Accessibility & contrast

On white

5.24
#545CE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#545CE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545CE2
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545CE2#FFFFFF#000000##FFFFFF
##545CE21.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #545ce2;
/* rgb */ color: rgb(84, 92, 226);
/* oklch */ color: oklch(54.7% 0.200 275.0);
Tailwind
colors: {
  custom: {
    50: '#928aec',
    500: '#545ce2',
    950: '#000000',
  },
}
SCSS
$custom: #545ce2;
$custom-light: #928aec;
$custom-dark: #000000;
JSON
{
  "hex": "#545ce2",
  "rgb": {
    "r": 84,
    "g": 92,
    "b": 226
  },
  "hsl": {
    "h": 236.62,
    "s": 71,
    "l": 60.784
  },
  "oklch": {
    "l": 0.54665,
    "c": 0.20018,
    "h": 275
  },
  "luminance": 0.1503
}

Semantic roles & 50–950 ramp

primary
#545CE2
secondary
#E4E1AE
accent
#C812D3
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #545CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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