#545DDB#545DDB

#545DDB is a mid, vivid blue. Relative luminance 0.148; OKLCH L 54.3% C 0.190 H 275.0°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#545DDB
RGBrgb(84, 93, 219)
HSLhsl(236, 65%, 59%)
HSVhsv(236, 62%, 86%)
CMYKcmyk(61.6%, 57.5%, 0%, 14.1%)
CIE-LABlab(45.40, 34.50, -65.76)
CIE-LCHlch(45.40, 74.26, 297.68°)
OKLaboklab(54.3% 0.0167 -0.1891)
OKLCHoklch(54.3% 0.19 275)
XYZxyz(20.3525, 14.8263, 68.7933)
Luminance0.1483 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545DDB #DBD254
analogous
#54A1DB #545DDB #8F54DB
triadic
#545DDB #DB545D #5DDB54
tetradic
#545DDB #DB54A1 #DBD254 #54DB8F
square
#545DDB #DB54A1 #DBD254 #54DB8F
split-complementary
#545DDB #DB8F54 #A1DB54
monochromatic
#1F2795 #2A35C8 #545DDB #878DE6 #B9BDF0

Accessibility & contrast

On white

5.30
#545DDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#545DDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545DDB
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545DDB#FFFFFF#000000##FFFFFF
##545DDB1.005.303.975.30
#FFFFFF5.301.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DF
Deuteranopia (green-blind)
#0066D8
Tritanopia (blue-blind)
#007B93
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #545ddb;
/* rgb */ color: rgb(84, 93, 219);
/* oklch */ color: oklch(54.3% 0.190 275.0);
Tailwind
colors: {
  custom: {
    50: '#918be7',
    500: '#545ddb',
    950: '#000000',
  },
}
SCSS
$custom: #545ddb;
$custom-light: #918be7;
$custom-dark: #000000;
JSON
{
  "hex": "#545ddb",
  "rgb": {
    "r": 84,
    "g": 93,
    "b": 219
  },
  "hsl": {
    "h": 236,
    "s": 65.217,
    "l": 59.412
  },
  "oklch": {
    "l": 0.54297,
    "c": 0.18979,
    "h": 275
  },
  "luminance": 0.14828
}

Semantic roles & 50–950 ramp

primary
#545DDB
secondary
#E0DCAB
accent
#DD40E8
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #545DDB

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

Preview Lab → · Contrast checker → · Palette generator →

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