#545FE5#545FE5

#545FE5 is a mid, highly saturated blue. Relative luminance 0.157; OKLCH L 55.4% C 0.200 H 274.3°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#545FE5
RGBrgb(84, 95, 229)
HSLhsl(235, 74%, 61%)
HSVhsv(235, 63%, 90%)
CMYKcmyk(63.3%, 58.5%, 0%, 10.2%)
CIE-LABlab(46.61, 36.59, -69.46)
CIE-LCHlch(46.61, 78.51, 297.78°)
OKLaboklab(55.43% 0.0149 -0.1999)
OKLCHoklch(55.43% 0.2 274.3)
XYZxyz(21.8866, 15.7245, 75.9953)
Luminance0.1573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545FE5 #E5DA54
analogous
#54A8E5 #545FE5 #9254E5
triadic
#545FE5 #E5545F #5FE554
tetradic
#545FE5 #E554A8 #E5DA54 #54E592
square
#545FE5 #E554A8 #E5DA54 #54E592
split-complementary
#545FE5 #E59254 #A8E554
monochromatic
#1924A5 #212FDB #545FE5 #8991ED #BEC2F5

Accessibility & contrast

On white

5.07
#545FE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#545FE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545FE5
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545FE5#FFFFFF#000000##FFFFFF
##545FE51.005.074.155.07
#FFFFFF5.071.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E9
Deuteranopia (green-blind)
#0068E2
Tritanopia (blue-blind)
#008099
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #545fe5;
/* rgb */ color: rgb(84, 95, 229);
/* oklch */ color: oklch(55.4% 0.200 274.3);
Tailwind
colors: {
  custom: {
    50: '#938cee',
    500: '#545fe5',
    950: '#000000',
  },
}
SCSS
$custom: #545fe5;
$custom-light: #938cee;
$custom-dark: #000000;
JSON
{
  "hex": "#545fe5",
  "rgb": {
    "r": 84,
    "g": 95,
    "b": 229
  },
  "hsl": {
    "h": 235.448,
    "s": 73.604,
    "l": 61.373
  },
  "oklch": {
    "l": 0.5543,
    "c": 0.20045,
    "h": 274.3
  },
  "luminance": 0.15726
}

Semantic roles & 50–950 ramp

primary
#545FE5
secondary
#E6E1AF
accent
#C710D6
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #545FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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