#545CE7#545CE7

#545CE7 is a mid, highly saturated blue. Relative luminance 0.153; OKLCH L 55.1% C 0.207 H 274.8°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#545CE7
RGBrgb(84, 92, 231)
HSLhsl(237, 75%, 62%)
HSVhsv(237, 64%, 91%)
CMYKcmyk(63.6%, 60.2%, 0%, 9.4%)
CIE-LABlab(46.05, 39.08, -71.50)
CIE-LCHlch(46.05, 81.48, 298.66°)
OKLaboklab(55.06% 0.0173 -0.2059)
OKLCHoklch(55.06% 0.207 274.8)
XYZxyz(21.9024, 15.3068, 77.3861)
Luminance0.1531 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545CE7 #E7DF54
analogous
#54A5E7 #545CE7 #9654E7
triadic
#545CE7 #E7545C #5CE754
tetradic
#545CE7 #E754A5 #E7DF54 #54E796
square
#545CE7 #E754A5 #E7DF54 #54E796
split-complementary
#545CE7 #E79654 #A5E754
monochromatic
#1820A9 #1F2ADF #545CE7 #8A8FEF #BFC2F6

Accessibility & contrast

On white

5.17
#545CE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#545CE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545CE7
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545CE7#FFFFFF#000000##FFFFFF
##545CE71.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074EC
Deuteranopia (green-blind)
#0067E4
Tritanopia (blue-blind)
#007F99
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #545ce7;
/* rgb */ color: rgb(84, 92, 231);
/* oklch */ color: oklch(55.1% 0.207 274.8);
Tailwind
colors: {
  custom: {
    50: '#938af0',
    500: '#545ce7',
    950: '#000000',
  },
}
SCSS
$custom: #545ce7;
$custom-light: #938af0;
$custom-dark: #000000;
JSON
{
  "hex": "#545ce7",
  "rgb": {
    "r": 84,
    "g": 92,
    "b": 231
  },
  "hsl": {
    "h": 236.735,
    "s": 75.385,
    "l": 61.765
  },
  "oklch": {
    "l": 0.55063,
    "c": 0.20665,
    "h": 274.8
  },
  "luminance": 0.15309
}

Semantic roles & 50–950 ramp

primary
#545CE7
secondary
#E7E4B0
accent
#CD0ED8
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #545CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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