#545FD6#545FD6

#545FD6 is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.3% C 0.181 H 274.7°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#545FD6
RGBrgb(84, 95, 214)
HSLhsl(235, 61%, 58%)
HSVhsv(235, 61%, 84%)
CMYKcmyk(60.7%, 55.6%, 0%, 16.1%)
CIE-LABlab(45.53, 31.60, -62.70)
CIE-LCHlch(45.53, 70.21, 296.75°)
OKLaboklab(54.28% 0.0148 -0.18)
OKLCHoklch(54.28% 0.181 274.7)
XYZxyz(19.8820, 14.9227, 65.4379)
Luminance0.1492 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545FD6 #D6CB54
analogous
#54A0D6 #545FD6 #8A54D6
triadic
#545FD6 #D6545F #5FD654
tetradic
#545FD6 #D654A0 #D6CB54 #54D68A
square
#545FD6 #D654A0 #D6CB54 #54D68A
split-complementary
#545FD6 #D68A54 #A0D654
monochromatic
#222B8E #2E3ABF #545FD6 #858DE2 #B7BBEE

Accessibility & contrast

On white

5.27
#545FD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#545FD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545FD6
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545FD6#FFFFFF#000000##FFFFFF
##545FD61.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DA
Deuteranopia (green-blind)
#0066D4
Tritanopia (blue-blind)
#007B91
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #545fd6;
/* rgb */ color: rgb(84, 95, 214);
/* oklch */ color: oklch(54.3% 0.181 274.7);
Tailwind
colors: {
  custom: {
    50: '#908ce3',
    500: '#545fd6',
    950: '#000000',
  },
}
SCSS
$custom: #545fd6;
$custom-light: #908ce3;
$custom-dark: #000000;
JSON
{
  "hex": "#545fd6",
  "rgb": {
    "r": 84,
    "g": 95,
    "b": 214
  },
  "hsl": {
    "h": 234.923,
    "s": 61.321,
    "l": 58.431
  },
  "oklch": {
    "l": 0.54283,
    "c": 0.18062,
    "h": 274.7
  },
  "luminance": 0.14924
}

Semantic roles & 50–950 ramp

primary
#545FD6
secondary
#DDD8A9
accent
#D743E4
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #545FD6

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

Preview Lab → · Contrast checker → · Palette generator →

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