#545FF0#545FF0

#545FF0 is a mid, highly saturated blue. Relative luminance 0.164; OKLCH L 56.3% C 0.215 H 273.9°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#545FF0
RGBrgb(84, 95, 240)
HSLhsl(236, 84%, 64%)
HSVhsv(236, 65%, 94%)
CMYKcmyk(65%, 60.4%, 0%, 5.9%)
CIE-LABlab(47.44, 40.24, -74.30)
CIE-LCHlch(47.44, 84.49, 298.44°)
OKLaboklab(56.3% 0.0146 -0.2141)
OKLCHoklch(56.3% 0.215 273.9)
XYZxyz(23.4713, 16.3584, 84.3418)
Luminance0.1636 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545FF0 #F0E554
analogous
#54ADF0 #545FF0 #9754F0
triadic
#545FF0 #F0545F #5FF054
tetradic
#545FF0 #F054AD #F0E554 #54F097
square
#545FF0 #F054AD #F0E554 #54F097
split-complementary
#545FF0 #F09754 #ADF054
monochromatic
#101CB9 #1C2AEB #545FF0 #8C94F5 #C5C8FA

Accessibility & contrast

On white

4.92
#545FF0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#545FF0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545FF0
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545FF0#FFFFFF#000000##FFFFFF
##545FF01.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F5
Deuteranopia (green-blind)
#006AED
Tritanopia (blue-blind)
#00839F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #545ff0;
/* rgb */ color: rgb(84, 95, 240);
/* oklch */ color: oklch(56.3% 0.215 273.9);
Tailwind
colors: {
  custom: {
    50: '#958cf6',
    500: '#545ff0',
    950: '#000000',
  },
}
SCSS
$custom: #545ff0;
$custom-light: #958cf6;
$custom-dark: #000000;
JSON
{
  "hex": "#545ff0",
  "rgb": {
    "r": 84,
    "g": 95,
    "b": 240
  },
  "hsl": {
    "h": 235.769,
    "s": 83.871,
    "l": 63.529
  },
  "oklch": {
    "l": 0.56303,
    "c": 0.21462,
    "h": 273.9
  },
  "luminance": 0.16361
}

Semantic roles & 50–950 ramp

primary
#545FF0
secondary
#ECE8B4
accent
#D105E0
background
#FAF8FF
surface
#F3F0FF
border
#CDCBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #545FF0

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

Preview Lab → · Contrast checker → · Palette generator →

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