#545FE8#545FE8

#545FE8 is a mid, highly saturated blue. Relative luminance 0.159; OKLCH L 55.7% C 0.204 H 274.2°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#545FE8
RGBrgb(84, 95, 232)
HSLhsl(236, 76%, 62%)
HSVhsv(236, 64%, 91%)
CMYKcmyk(63.8%, 59.1%, 0%, 9%)
CIE-LABlab(46.83, 37.59, -70.79)
CIE-LCHlch(46.83, 80.15, 297.97°)
OKLaboklab(55.67% 0.0148 -0.2038)
OKLCHoklch(55.67% 0.204 274.2)
XYZxyz(22.3090, 15.8935, 78.2204)
Luminance0.1590 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545FE8 #E8DD54
analogous
#54A9E8 #545FE8 #9354E8
triadic
#545FE8 #E8545F #5FE854
tetradic
#545FE8 #E854A9 #E8DD54 #54E893
square
#545FE8 #E854A9 #E8DD54 #54E893
split-complementary
#545FE8 #E89354 #A9E854
monochromatic
#1722AB #1E2DE1 #545FE8 #8A91EF #C0C4F7

Accessibility & contrast

On white

5.03
#545FE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#545FE8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545FE8
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545FE8#FFFFFF#000000##FFFFFF
##545FE81.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076ED
Deuteranopia (green-blind)
#0069E5
Tritanopia (blue-blind)
#00819A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #545fe8;
/* rgb */ color: rgb(84, 95, 232);
/* oklch */ color: oklch(55.7% 0.204 274.2);
Tailwind
colors: {
  custom: {
    50: '#938cf0',
    500: '#545fe8',
    950: '#000000',
  },
}
SCSS
$custom: #545fe8;
$custom-light: #938cf0;
$custom-dark: #000000;
JSON
{
  "hex": "#545fe8",
  "rgb": {
    "r": 84,
    "g": 95,
    "b": 232
  },
  "hsl": {
    "h": 235.541,
    "s": 76.289,
    "l": 61.961
  },
  "oklch": {
    "l": 0.55665,
    "c": 0.20435,
    "h": 274.2
  },
  "luminance": 0.15895
}

Semantic roles & 50–950 ramp

primary
#545FE8
secondary
#E7E3B1
accent
#C90DD8
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C17
muted
#7E7D85

Preview Lab

Preview with #545FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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