#545CF5#545CF5

#545CF5 is a mid, highly saturated blue. Relative luminance 0.161; OKLCH L 56.2% C 0.224 H 274.3°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#545CF5
RGBrgb(84, 92, 245)
HSLhsl(237, 89%, 65%)
HSVhsv(237, 66%, 96%)
CMYKcmyk(65.7%, 62.4%, 0%, 3.9%)
CIE-LABlab(47.14, 43.68, -77.58)
CIE-LCHlch(47.14, 89.03, 299.38°)
OKLaboklab(56.21% 0.0167 -0.2238)
OKLCHoklch(56.21% 0.224 274.3)
XYZxyz(23.9593, 16.1295, 88.2192)
Luminance0.1613 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545CF5 #F5ED54
analogous
#54ACF5 #545CF5 #9D54F5
triadic
#545CF5 #F5545C #5CF554
tetradic
#545CF5 #F554AC #F5ED54 #54F59D
square
#545CF5 #F554AC #F5ED54 #54F59D
split-complementary
#545CF5 #F59D54 #ACF554
monochromatic
#0B15C3 #1A25F2 #545CF5 #8E93F8 #C8CAFC

Accessibility & contrast

On white

4.97
#545CF5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#545CF5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545CF5
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545CF5#FFFFFF#000000##FFFFFF
##545CF51.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077FA
Deuteranopia (green-blind)
#0069F2
Tritanopia (blue-blind)
#0083A0
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #545cf5;
/* rgb */ color: rgb(84, 92, 245);
/* oklch */ color: oklch(56.2% 0.224 274.3);
Tailwind
colors: {
  custom: {
    50: '#968afa',
    500: '#545cf5',
    950: '#000000',
  },
}
SCSS
$custom: #545cf5;
$custom-light: #968afa;
$custom-dark: #000000;
JSON
{
  "hex": "#545cf5",
  "rgb": {
    "r": 84,
    "g": 92,
    "b": 245
  },
  "hsl": {
    "h": 237.019,
    "s": 88.95,
    "l": 64.51
  },
  "oklch": {
    "l": 0.56206,
    "c": 0.2244,
    "h": 274.3
  },
  "luminance": 0.16132
}

Semantic roles & 50–950 ramp

primary
#545CF5
secondary
#EEEBB7
accent
#DA00E6
background
#FAF8FF
surface
#F3F0FF
border
#CDCBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #545CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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