#545FE1#545FE1

#545FE1 is a mid, vivid blue. Relative luminance 0.155; OKLCH L 55.1% C 0.195 H 274.4°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#545FE1
RGBrgb(84, 95, 225)
HSLhsl(235, 70%, 61%)
HSVhsv(235, 63%, 88%)
CMYKcmyk(62.7%, 57.8%, 0%, 11.8%)
CIE-LABlab(46.32, 35.26, -67.67)
CIE-LCHlch(46.32, 76.31, 297.52°)
OKLaboklab(55.12% 0.0149 -0.1947)
OKLCHoklch(55.12% 0.195 274.4)
XYZxyz(21.3345, 15.5037, 73.0878)
Luminance0.1550 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545FE1 #E1D654
analogous
#54A5E1 #545FE1 #8F54E1
triadic
#545FE1 #E1545F #5FE154
tetradic
#545FE1 #E154A5 #E1D654 #54E18F
square
#545FE1 #E154A5 #E1D654 #54E18F
split-complementary
#545FE1 #E18F54 #A5E154
monochromatic
#1C269F #2533D3 #545FE1 #8890EA #BCC0F3

Accessibility & contrast

On white

5.12
#545FE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#545FE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545FE1
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545FE1#FFFFFF#000000##FFFFFF
##545FE11.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E5
Deuteranopia (green-blind)
#0068DE
Tritanopia (blue-blind)
#007F97
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #545fe1;
/* rgb */ color: rgb(84, 95, 225);
/* oklch */ color: oklch(55.1% 0.195 274.4);
Tailwind
colors: {
  custom: {
    50: '#928ceb',
    500: '#545fe1',
    950: '#000000',
  },
}
SCSS
$custom: #545fe1;
$custom-light: #928ceb;
$custom-dark: #000000;
JSON
{
  "hex": "#545fe1",
  "rgb": {
    "r": 84,
    "g": 95,
    "b": 225
  },
  "hsl": {
    "h": 235.319,
    "s": 70.149,
    "l": 60.588
  },
  "oklch": {
    "l": 0.55119,
    "c": 0.19523,
    "h": 274.4
  },
  "luminance": 0.15505
}

Semantic roles & 50–950 ramp

primary
#545FE1
secondary
#E3DFAE
accent
#C313D2
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #545FE1

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

Preview Lab → · Contrast checker → · Palette generator →

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