#5454F0#5454F0

#5454F0 is a mid, highly saturated blue. Relative luminance 0.145; OKLCH L 54.5% C 0.227 H 275.8°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#5454F0
RGBrgb(84, 84, 240)
HSLhsl(240, 84%, 64%)
HSVhsv(240, 65%, 94%)
CMYKcmyk(65%, 65%, 0%, 5.9%)
CIE-LABlab(44.96, 46.76, -78.35)
CIE-LCHlch(44.96, 91.24, 300.83°)
OKLaboklab(54.49% 0.0229 -0.2261)
OKLCHoklch(54.49% 0.227 275.8)
XYZxyz(22.5495, 14.5148, 84.0345)
Luminance0.1452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5454F0 #F0F054
analogous
#54A2F0 #5454F0 #A254F0
triadic
#5454F0 #F05454 #54F054
tetradic
#5454F0 #F054A2 #F0F054 #54F0A2
square
#5454F0 #F054A2 #F0F054 #54F0A2
split-complementary
#5454F0 #F0A254 #A2F054
monochromatic
#1010B9 #1C1CEB #5454F0 #8C8CF5 #C5C5FA

Accessibility & contrast

On white

5.38
#5454F0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#5454F0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5454F0
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5454F0#FFFFFF#000000##FFFFFF
##5454F01.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071F5
Deuteranopia (green-blind)
#0063ED
Tritanopia (blue-blind)
#007D9B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5454f0;
/* rgb */ color: rgb(84, 84, 240);
/* oklch */ color: oklch(54.5% 0.227 275.8);
Tailwind
colors: {
  custom: {
    50: '#9685f6',
    500: '#5454f0',
    950: '#000000',
  },
}
SCSS
$custom: #5454f0;
$custom-light: #9685f6;
$custom-dark: #000000;
JSON
{
  "hex": "#5454f0",
  "rgb": {
    "r": 84,
    "g": 84,
    "b": 240
  },
  "hsl": {
    "h": 240,
    "s": 83.871,
    "l": 63.529
  },
  "oklch": {
    "l": 0.54488,
    "c": 0.22722,
    "h": 275.8
  },
  "luminance": 0.14517
}

Semantic roles & 50–950 ramp

primary
#5454F0
secondary
#ECECB4
accent
#E005E0
background
#FAF8FF
surface
#F3EFFF
border
#CDCAD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5454F0

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

Preview Lab → · Contrast checker → · Palette generator →

#5454F0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva