#545FE2#545FE2

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

Color values

HEX#545FE2
RGBrgb(84, 95, 226)
HSLhsl(235, 71%, 61%)
HSVhsv(235, 63%, 89%)
CMYKcmyk(62.8%, 58%, 0%, 11.4%)
CIE-LABlab(46.39, 35.59, -68.12)
CIE-LCHlch(46.39, 76.86, 297.59°)
OKLaboklab(55.2% 0.0149 -0.196)
OKLCHoklch(55.2% 0.197 274.3)
XYZxyz(21.4713, 15.5584, 73.8083)
Luminance0.1556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545FE2 #E2D754
analogous
#54A6E2 #545FE2 #9054E2
triadic
#545FE2 #E2545F #5FE254
tetradic
#545FE2 #E254A6 #E2D754 #54E290
square
#545FE2 #E254A6 #E2D754 #54E290
split-complementary
#545FE2 #E29054 #A6E254
monochromatic
#1B26A0 #2432D5 #545FE2 #8890EB #BDC1F4

Accessibility & contrast

On white

5.11
#545FE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#545FE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545FE2
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545FE2#FFFFFF#000000##FFFFFF
##545FE21.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #545fe2;
/* rgb */ color: rgb(84, 95, 226);
/* oklch */ color: oklch(55.2% 0.197 274.3);
Tailwind
colors: {
  custom: {
    50: '#928cec',
    500: '#545fe2',
    950: '#000000',
  },
}
SCSS
$custom: #545fe2;
$custom-light: #928cec;
$custom-dark: #000000;
JSON
{
  "hex": "#545fe2",
  "rgb": {
    "r": 84,
    "g": 95,
    "b": 226
  },
  "hsl": {
    "h": 235.352,
    "s": 71,
    "l": 60.784
  },
  "oklch": {
    "l": 0.55196,
    "c": 0.19653,
    "h": 274.3
  },
  "luminance": 0.1556
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #545FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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