#5A84DF#5A84DF

#5A84DF is a light, vivid blue. Relative luminance 0.240; OKLCH L 62.6% C 0.145 H 264.0°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#5A84DF
RGBrgb(90, 132, 223)
HSLhsl(221, 68%, 61%)
HSVhsv(221, 60%, 87%)
CMYKcmyk(59.6%, 40.8%, 0%, 12.5%)
CIE-LABlab(56.09, 12.94, -50.81)
CIE-LCHlch(56.09, 52.43, 284.28°)
OKLaboklab(62.58% -0.0152 -0.1445)
OKLCHoklch(62.58% 0.145 264)
XYZxyz(25.7824, 24.0017, 73.0718)
Luminance0.2400 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A84DF #DFB55A
analogous
#5AC7DF #5A84DF #735ADF
triadic
#5A84DF #DF5A84 #84DF5A
tetradic
#5A84DF #DF5AC7 #DFB55A #5ADF73
square
#5A84DF #DF5AC7 #DFB55A #5ADF73
split-complementary
#5A84DF #DF735A #C7DF5A
monochromatic
#1F48A0 #295FD3 #5A84DF #8DAAE9 #C1D0F3

Accessibility & contrast

On white

3.62
#5A84DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#5A84DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A84DF
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A84DF#FFFFFF#000000##000000
##5A84DF1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C8DE3
Deuteranopia (green-blind)
#4A81DD
Tritanopia (blue-blind)
#0098A7
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5a84df;
/* rgb */ color: rgb(90, 132, 223);
/* oklch */ color: oklch(62.6% 0.145 264.0);
Tailwind
colors: {
  custom: {
    50: '#93a7e9',
    500: '#5a84df',
    950: '#000000',
  },
}
SCSS
$custom: #5a84df;
$custom-light: #93a7e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5a84df",
  "rgb": {
    "r": 90,
    "g": 132,
    "b": 223
  },
  "hsl": {
    "h": 221.053,
    "s": 67.513,
    "l": 61.373
  },
  "oklch": {
    "l": 0.62576,
    "c": 0.14533,
    "h": 264
  },
  "luminance": 0.24004
}

Semantic roles & 50–950 ramp

primary
#5A84DF
secondary
#E3D4B2
accent
#9516CF
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5A84DF

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

Preview Lab → · Contrast checker → · Palette generator →

#5A84DF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva