#545FE3#545FE3

#545FE3 is a mid, vivid blue. Relative luminance 0.156; OKLCH L 55.3% C 0.198 H 274.3°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#545FE3
RGBrgb(84, 95, 227)
HSLhsl(235, 72%, 61%)
HSVhsv(235, 63%, 89%)
CMYKcmyk(63%, 58.1%, 0%, 11%)
CIE-LABlab(46.46, 35.93, -68.57)
CIE-LCHlch(46.46, 77.41, 297.65°)
OKLaboklab(55.27% 0.0149 -0.1973)
OKLCHoklch(55.27% 0.198 274.3)
XYZxyz(21.6089, 15.6135, 74.5331)
Luminance0.1562 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545FE3 #E3D854
analogous
#54A6E3 #545FE3 #9054E3
triadic
#545FE3 #E3545F #5FE354
tetradic
#545FE3 #E354A6 #E3D854 #54E390
square
#545FE3 #E354A6 #E3D854 #54E390
split-complementary
#545FE3 #E39054 #A6E354
monochromatic
#1B25A2 #2331D7 #545FE3 #8990EC #BDC1F4

Accessibility & contrast

On white

5.09
#545FE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#545FE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545FE3
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545FE3#FFFFFF#000000##FFFFFF
##545FE31.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E7
Deuteranopia (green-blind)
#0068E0
Tritanopia (blue-blind)
#007F98
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #545fe3;
/* rgb */ color: rgb(84, 95, 227);
/* oklch */ color: oklch(55.3% 0.198 274.3);
Tailwind
colors: {
  custom: {
    50: '#928ced',
    500: '#545fe3',
    950: '#000000',
  },
}
SCSS
$custom: #545fe3;
$custom-light: #928ced;
$custom-dark: #000000;
JSON
{
  "hex": "#545fe3",
  "rgb": {
    "r": 84,
    "g": 95,
    "b": 227
  },
  "hsl": {
    "h": 235.385,
    "s": 71.859,
    "l": 60.98
  },
  "oklch": {
    "l": 0.55274,
    "c": 0.19784,
    "h": 274.3
  },
  "luminance": 0.15615
}

Semantic roles & 50–950 ramp

primary
#545FE3
secondary
#E4E0AE
accent
#C512D4
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #545FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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