#5454F1#5454F1

#5454F1 is a mid, highly saturated blue. Relative luminance 0.146; OKLCH L 54.6% C 0.228 H 275.7°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#5454F1
RGBrgb(84, 84, 241)
HSLhsl(240, 85%, 64%)
HSVhsv(240, 65%, 95%)
CMYKcmyk(65.1%, 65.1%, 0%, 5.5%)
CIE-LABlab(45.05, 47.08, -78.77)
CIE-LCHlch(45.05, 91.77, 300.87°)
OKLaboklab(54.58% 0.0228 -0.2273)
OKLCHoklch(54.58% 0.228 275.7)
XYZxyz(22.6985, 14.5744, 84.8190)
Luminance0.1458 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5454F1 #F1F154
analogous
#54A2F1 #5454F1 #A254F1
triadic
#5454F1 #F15454 #54F154
tetradic
#5454F1 #F154A2 #F1F154 #54F1A2
square
#5454F1 #F154A2 #F1F154 #54F1A2
split-complementary
#5454F1 #F1A254 #A2F154
monochromatic
#0F0FBB #1B1BEC #5454F1 #8D8DF6 #C5C5FA

Accessibility & contrast

On white

5.36
#5454F1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#5454F1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5454F1
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5454F1#FFFFFF#000000##FFFFFF
##5454F11.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F6
Deuteranopia (green-blind)
#0064EE
Tritanopia (blue-blind)
#007D9B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5454f1;
/* rgb */ color: rgb(84, 84, 241);
/* oklch */ color: oklch(54.6% 0.228 275.7);
Tailwind
colors: {
  custom: {
    50: '#9685f7',
    500: '#5454f1',
    950: '#000000',
  },
}
SCSS
$custom: #5454f1;
$custom-light: #9685f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5454f1",
  "rgb": {
    "r": 84,
    "g": 84,
    "b": 241
  },
  "hsl": {
    "h": 240,
    "s": 84.865,
    "l": 63.725
  },
  "oklch": {
    "l": 0.54575,
    "c": 0.22845,
    "h": 275.7
  },
  "luminance": 0.14576
}

Semantic roles & 50–950 ramp

primary
#5454F1
secondary
#ECECB5
accent
#E104E1
background
#FAF8FF
surface
#F3EFFF
border
#CDCAD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5454F1

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

Preview Lab → · Contrast checker → · Palette generator →

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