#545DFC#545DFC

#545DFC is a mid, highly saturated blue. Relative luminance 0.167; OKLCH L 57.0% C 0.232 H 273.8°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#545DFC
RGBrgb(84, 93, 252)
HSLhsl(237, 97%, 66%)
HSVhsv(237, 67%, 99%)
CMYKcmyk(66.7%, 63.1%, 0%, 1.2%)
CIE-LABlab(47.93, 45.38, -80.20)
CIE-LCHlch(47.93, 92.15, 299.50°)
OKLaboklab(56.96% 0.0155 -0.2315)
OKLCHoklch(56.96% 0.232 273.8)
XYZxyz(25.1353, 16.7395, 93.9830)
Luminance0.1674 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545DFC #FCF354
analogous
#54B1FC #545DFC #9F54FC
triadic
#545DFC #FC545D #5DFC54
tetradic
#545DFC #FC54B1 #FCF354 #54FC9F
square
#545DFC #FC54B1 #FCF354 #54FC9F
split-complementary
#545DFC #FC9F54 #B1FC54
monochromatic
#040FD2 #1824FB #545DFC #9096FD #CCCFFE

Accessibility & contrast

On white

4.83
#545DFC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#545DFC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545DFC
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545DFC#FFFFFF#000000##FFFFFF
##545DFC1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079FF
Deuteranopia (green-blind)
#006AF9
Tritanopia (blue-blind)
#0086A4
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #545dfc;
/* rgb */ color: rgb(84, 93, 252);
/* oklch */ color: oklch(57.0% 0.232 273.8);
Tailwind
colors: {
  custom: {
    50: '#978bff',
    500: '#545dfc',
    950: '#000000',
  },
}
SCSS
$custom: #545dfc;
$custom-light: #978bff;
$custom-dark: #000000;
JSON
{
  "hex": "#545dfc",
  "rgb": {
    "r": 84,
    "g": 93,
    "b": 252
  },
  "hsl": {
    "h": 236.786,
    "s": 96.552,
    "l": 65.882
  },
  "oklch": {
    "l": 0.56955,
    "c": 0.23198,
    "h": 273.8
  },
  "luminance": 0.16742
}

Semantic roles & 50–950 ramp

primary
#545DFC
secondary
#F2EFBA
accent
#D900E6
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C18
muted
#7F7D86

Preview Lab

Preview with #545DFC

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

Preview Lab → · Contrast checker → · Palette generator →

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