#545FD0#545FD0

#545FD0 is a mid, vivid blue. Relative luminance 0.146; OKLCH L 53.8% C 0.173 H 274.8°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#545FD0
RGBrgb(84, 95, 208)
HSLhsl(235, 57%, 57%)
HSVhsv(235, 60%, 82%)
CMYKcmyk(59.6%, 54.3%, 0%, 18.4%)
CIE-LABlab(45.11, 29.61, -59.94)
CIE-LCHlch(45.11, 66.85, 296.29°)
OKLaboklab(53.84% 0.0145 -0.1719)
OKLCHoklch(53.84% 0.173 274.8)
XYZxyz(19.1298, 14.6218, 61.4765)
Luminance0.1462 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545FD0 #D0C554
analogous
#549DD0 #545FD0 #8754D0
triadic
#545FD0 #D0545F #5FD054
tetradic
#545FD0 #D0549D #D0C554 #54D087
square
#545FD0 #D0549D #D0C554 #54D087
split-complementary
#545FD0 #D08754 #9DD054
monochromatic
#252D85 #323DB5 #545FD0 #848CDD #B4B9EA

Accessibility & contrast

On white

5.35
#545FD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#545FD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545FD0
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545FD0#FFFFFF#000000##FFFFFF
##545FD01.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F70D4
Deuteranopia (green-blind)
#0066CE
Tritanopia (blue-blind)
#00798E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #545fd0;
/* rgb */ color: rgb(84, 95, 208);
/* oklch */ color: oklch(53.8% 0.173 274.8);
Tailwind
colors: {
  custom: {
    50: '#8f8cdf',
    500: '#545fd0',
    950: '#000000',
  },
}
SCSS
$custom: #545fd0;
$custom-light: #8f8cdf;
$custom-dark: #000000;
JSON
{
  "hex": "#545fd0",
  "rgb": {
    "r": 84,
    "g": 95,
    "b": 208
  },
  "hsl": {
    "h": 234.677,
    "s": 56.881,
    "l": 57.255
  },
  "oklch": {
    "l": 0.5384,
    "c": 0.17251,
    "h": 274.8
  },
  "luminance": 0.14623
}

Semantic roles & 50–950 ramp

primary
#545FD0
secondary
#D9D5A7
accent
#D348E0
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #545FD0

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

Preview Lab → · Contrast checker → · Palette generator →

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