#5451EF#5451EF

#5451EF is a mid, highly saturated blue. Relative luminance 0.140; OKLCH L 53.9% C 0.229 H 276.3°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#5451EF
RGBrgb(84, 81, 239)
HSLhsl(241, 83%, 63%)
HSVhsv(241, 66%, 94%)
CMYKcmyk(64.9%, 66.1%, 0%, 6.3%)
CIE-LABlab(44.23, 48.18, -78.98)
CIE-LCHlch(44.23, 92.51, 301.38°)
OKLaboklab(53.93% 0.0251 -0.2279)
OKLCHoklch(53.93% 0.229 276.3)
XYZxyz(22.1735, 13.9998, 83.1783)
Luminance0.1400 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5451EF #ECEF51
analogous
#519DEF #5451EF #A351EF
triadic
#5451EF #EF5451 #51EF54
tetradic
#5451EF #EF519D #ECEF51 #51EFA3
square
#5451EF #EF519D #ECEF51 #51EFA3
split-complementary
#5451EF #EFA351 #9DEF51
monochromatic
#1411B5 #1D19EA #5451EF #8B89F4 #C2C1F9

Accessibility & contrast

On white

5.53
#5451EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#5451EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5451EF
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5451EF#FFFFFF#000000##FFFFFF
##5451EF1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FF4
Deuteranopia (green-blind)
#0062EC
Tritanopia (blue-blind)
#007B99
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5451ef;
/* rgb */ color: rgb(84, 81, 239);
/* oklch */ color: oklch(53.9% 0.229 276.3);
Tailwind
colors: {
  custom: {
    50: '#9683f5',
    500: '#5451ef',
    950: '#000000',
  },
}
SCSS
$custom: #5451ef;
$custom-light: #9683f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5451ef",
  "rgb": {
    "r": 84,
    "g": 81,
    "b": 239
  },
  "hsl": {
    "h": 241.139,
    "s": 83.158,
    "l": 62.745
  },
  "oklch": {
    "l": 0.53933,
    "c": 0.22931,
    "h": 276.3
  },
  "luminance": 0.14002
}

Semantic roles & 50–950 ramp

primary
#5451EF
secondary
#E9EAB1
accent
#E006DB
background
#FAF8FF
surface
#F3EFFF
border
#CDCAD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5451EF

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

Preview Lab → · Contrast checker → · Palette generator →

#5451EF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva