#545CF8#545CF8

#545CF8 is a mid, highly saturated blue. Relative luminance 0.163; OKLCH L 56.5% C 0.228 H 274.1°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#545CF8
RGBrgb(84, 92, 248)
HSLhsl(237, 92%, 65%)
HSVhsv(237, 66%, 97%)
CMYKcmyk(66.1%, 62.9%, 0%, 2.7%)
CIE-LABlab(47.38, 44.66, -78.87)
CIE-LCHlch(47.38, 90.63, 299.52°)
OKLaboklab(56.46% 0.0165 -0.2275)
OKLCHoklch(56.46% 0.228 274.1)
XYZxyz(24.4210, 16.3142, 90.6507)
Luminance0.1632 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545CF8 #F8F054
analogous
#54AEF8 #545CF8 #9E54F8
triadic
#545CF8 #F8545C #5CF854
tetradic
#545CF8 #F854AE #F8F054 #54F89E
square
#545CF8 #F854AE #F8F054 #54F89E
split-complementary
#545CF8 #F89E54 #AEF854
monochromatic
#0812C9 #1924F6 #545CF8 #8F94FA #CACCFD

Accessibility & contrast

On white

4.93
#545CF8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#545CF8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545CF8
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545CF8#FFFFFF#000000##FFFFFF
##545CF81.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078FD
Deuteranopia (green-blind)
#0069F5
Tritanopia (blue-blind)
#0084A2
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #545cf8;
/* rgb */ color: rgb(84, 92, 248);
/* oklch */ color: oklch(56.5% 0.228 274.1);
Tailwind
colors: {
  custom: {
    50: '#968afc',
    500: '#545cf8',
    950: '#000000',
  },
}
SCSS
$custom: #545cf8;
$custom-light: #968afc;
$custom-dark: #000000;
JSON
{
  "hex": "#545cf8",
  "rgb": {
    "r": 84,
    "g": 92,
    "b": 248
  },
  "hsl": {
    "h": 237.073,
    "s": 92.135,
    "l": 65.098
  },
  "oklch": {
    "l": 0.56456,
    "c": 0.22815,
    "h": 274.1
  },
  "luminance": 0.16316
}

Semantic roles & 50–950 ramp

primary
#545CF8
secondary
#F0EDB8
accent
#DA00E6
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C18
muted
#7F7D86

Preview Lab

Preview with #545CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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