#545FDD#545FDD

#545FDD is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.8% C 0.190 H 274.5°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#545FDD
RGBrgb(84, 95, 221)
HSLhsl(235, 67%, 60%)
HSVhsv(235, 62%, 87%)
CMYKcmyk(62%, 57%, 0%, 13.3%)
CIE-LABlab(46.03, 33.93, -65.88)
CIE-LCHlch(46.03, 74.10, 297.25°)
OKLaboklab(54.81% 0.0149 -0.1894)
OKLCHoklch(54.81% 0.19 274.5)
XYZxyz(20.7952, 15.2880, 70.2476)
Luminance0.1529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545FDD #DDD254
analogous
#54A4DD #545FDD #8D54DD
triadic
#545FDD #DD545F #5FDD54
tetradic
#545FDD #DD54A4 #DDD254 #54DD8D
square
#545FDD #DD54A4 #DDD254 #54DD8D
split-complementary
#545FDD #DD8D54 #A4DD54
monochromatic
#1E2898 #2836CB #545FDD #878FE7 #BABFF1

Accessibility & contrast

On white

5.17
#545FDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#545FDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545FDD
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545FDD#FFFFFF#000000##FFFFFF
##545FDD1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E1
Deuteranopia (green-blind)
#0067DA
Tritanopia (blue-blind)
#007D95
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #545fdd;
/* rgb */ color: rgb(84, 95, 221);
/* oklch */ color: oklch(54.8% 0.190 274.5);
Tailwind
colors: {
  custom: {
    50: '#918ce8',
    500: '#545fdd',
    950: '#000000',
  },
}
SCSS
$custom: #545fdd;
$custom-light: #918ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#545fdd",
  "rgb": {
    "r": 84,
    "g": 95,
    "b": 221
  },
  "hsl": {
    "h": 235.182,
    "s": 66.829,
    "l": 59.804
  },
  "oklch": {
    "l": 0.54811,
    "c": 0.18995,
    "h": 274.5
  },
  "luminance": 0.1529
}

Semantic roles & 50–950 ramp

primary
#545FDD
secondary
#E1DDAC
accent
#DC3EEA
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #545FDD

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

Preview Lab → · Contrast checker → · Palette generator →

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