#545EDF#545EDF

#545EDF is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.8% C 0.194 H 274.7°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#545EDF
RGBrgb(84, 94, 223)
HSLhsl(236, 68%, 60%)
HSVhsv(236, 62%, 87%)
CMYKcmyk(62.3%, 57.8%, 0%, 12.5%)
CIE-LABlab(45.93, 35.21, -67.17)
CIE-LCHlch(45.93, 75.84, 297.66°)
OKLaboklab(54.79% 0.0158 -0.1932)
OKLCHoklch(54.79% 0.194 274.7)
XYZxyz(20.9738, 15.2162, 71.6295)
Luminance0.1522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545EDF #DFD554
analogous
#54A4DF #545EDF #8F54DF
triadic
#545EDF #DF545E #5EDF54
tetradic
#545EDF #DF54A4 #DFD554 #54DF8F
square
#545EDF #DF54A4 #DFD554 #54DF8F
split-complementary
#545EDF #DF8F54 #A4DF54
monochromatic
#1D269C #2733CF #545EDF #888FE9 #BBBFF2

Accessibility & contrast

On white

5.19
#545EDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#545EDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545EDF
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545EDF#FFFFFF#000000##FFFFFF
##545EDF1.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #545edf;
/* rgb */ color: rgb(84, 94, 223);
/* oklch */ color: oklch(54.8% 0.194 274.7);
Tailwind
colors: {
  custom: {
    50: '#928bea',
    500: '#545edf',
    950: '#000000',
  },
}
SCSS
$custom: #545edf;
$custom-light: #928bea;
$custom-dark: #000000;
JSON
{
  "hex": "#545edf",
  "rgb": {
    "r": 84,
    "g": 94,
    "b": 223
  },
  "hsl": {
    "h": 235.683,
    "s": 68.473,
    "l": 60.196
  },
  "oklch": {
    "l": 0.54785,
    "c": 0.19382,
    "h": 274.7
  },
  "luminance": 0.15218
}

Semantic roles & 50–950 ramp

primary
#545EDF
secondary
#E2DEAD
accent
#C315D0
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #545EDF

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

Preview Lab → · Contrast checker → · Palette generator →

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