#545CE3#545CE3

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

Color values

HEX#545CE3
RGBrgb(84, 92, 227)
HSLhsl(237, 72%, 61%)
HSVhsv(237, 63%, 89%)
CMYKcmyk(63%, 59.5%, 0%, 11%)
CIE-LABlab(45.75, 37.76, -69.73)
CIE-LCHlch(45.75, 79.30, 298.43°)
OKLaboklab(54.74% 0.0174 -0.2007)
OKLCHoklch(54.74% 0.201 275)
XYZxyz(21.3439, 15.0834, 74.4448)
Luminance0.1509 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545CE3 #E3DB54
analogous
#54A3E3 #545CE3 #9354E3
triadic
#545CE3 #E3545C #5CE354
tetradic
#545CE3 #E354A3 #E3DB54 #54E393
square
#545CE3 #E354A3 #E3DB54 #54E393
split-complementary
#545CE3 #E39354 #A3E354
monochromatic
#1B22A2 #232DD7 #545CE3 #898EEC #BDC0F4

Accessibility & contrast

On white

5.23
#545CE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#545CE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545CE3
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545CE3#FFFFFF#000000##FFFFFF
##545CE31.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E7
Deuteranopia (green-blind)
#0066E0
Tritanopia (blue-blind)
#007D97
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #545ce3;
/* rgb */ color: rgb(84, 92, 227);
/* oklch */ color: oklch(54.7% 0.201 275.0);
Tailwind
colors: {
  custom: {
    50: '#938aed',
    500: '#545ce3',
    950: '#000000',
  },
}
SCSS
$custom: #545ce3;
$custom-light: #938aed;
$custom-dark: #000000;
JSON
{
  "hex": "#545ce3",
  "rgb": {
    "r": 84,
    "g": 92,
    "b": 227
  },
  "hsl": {
    "h": 236.643,
    "s": 71.859,
    "l": 60.98
  },
  "oklch": {
    "l": 0.54744,
    "c": 0.20149,
    "h": 275
  },
  "luminance": 0.15085
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #545CE3

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

Preview Lab → · Contrast checker → · Palette generator →

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