#5481EC#5481EC

#5481EC is a light, vivid blue. Relative luminance 0.236; OKLCH L 62.5% C 0.168 H 264.8°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#5481EC
RGBrgb(84, 129, 236)
HSLhsl(222, 80%, 63%)
HSVhsv(222, 64%, 93%)
CMYKcmyk(64.4%, 45.3%, 0%, 7.5%)
CIE-LABlab(55.72, 18.07, -58.67)
CIE-LCHlch(55.72, 61.39, 287.11°)
OKLaboklab(62.45% -0.0152 -0.1677)
OKLCHoklch(62.45% 0.168 264.8)
XYZxyz(26.6415, 23.6390, 82.4994)
Luminance0.2364 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5481EC #ECBF54
analogous
#54CDEC #5481EC #7354EC
triadic
#5481EC #EC5481 #81EC54
tetradic
#5481EC #EC54CD #ECBF54 #54EC73
square
#5481EC #EC54CD #ECBF54 #54EC73
split-complementary
#5481EC #EC7354 #CDEC54
monochromatic
#1443B2 #1D58E6 #5481EC #8BAAF2 #C2D2F8

Accessibility & contrast

On white

3.67
#5481EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#5481EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5481EC
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5481EC#FFFFFF#000000##000000
##5481EC1.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C8DF0
Deuteranopia (green-blind)
#317FEA
Tritanopia (blue-blind)
#009AAB
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5481ec;
/* rgb */ color: rgb(84, 129, 236);
/* oklch */ color: oklch(62.5% 0.168 264.8);
Tailwind
colors: {
  custom: {
    50: '#92a5f3',
    500: '#5481ec',
    950: '#000000',
  },
}
SCSS
$custom: #5481ec;
$custom-light: #92a5f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5481ec",
  "rgb": {
    "r": 84,
    "g": 129,
    "b": 236
  },
  "hsl": {
    "h": 222.237,
    "s": 80,
    "l": 62.745
  },
  "oklch": {
    "l": 0.62454,
    "c": 0.16843,
    "h": 264.8
  },
  "luminance": 0.23641
}

Semantic roles & 50–950 ramp

primary
#5481EC
secondary
#E9D9B2
accent
#9E09DC
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5481EC

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

Preview Lab → · Contrast checker → · Palette generator →

#5481EC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva