#5A78EE#5A78EE

#5A78EE is a mid, vivid blue. Relative luminance 0.218; OKLCH L 61.1% C 0.180 H 269.7°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#5A78EE
RGBrgb(90, 120, 238)
HSLhsl(228, 81%, 64%)
HSVhsv(228, 62%, 93%)
CMYKcmyk(62.2%, 49.6%, 0%, 6.7%)
CIE-LABlab(53.79, 25.25, -62.87)
CIE-LCHlch(53.79, 67.75, 291.88°)
OKLaboklab(61.1% -0.001 -0.1801)
OKLCHoklch(61.1% 0.18 269.7)
XYZxyz(26.3603, 21.7774, 83.6866)
Luminance0.2178 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A78EE #EED05A
analogous
#5AC2EE #5A78EE #865AEE
triadic
#5A78EE #EE5A78 #78EE5A
tetradic
#5A78EE #EE5AC2 #EED05A #5AEE86
square
#5A78EE #EE5AC2 #EED05A #5AEE86
split-complementary
#5A78EE #EE865A #C2EE5A
monochromatic
#1335BA #234BE8 #5A78EE #91A5F4 #C9D3F9

Accessibility & contrast

On white

3.92
#5A78EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#5A78EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A78EE
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A78EE#FFFFFF#000000##000000
##5A78EE1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3787F2
Deuteranopia (green-blind)
#0E7AEC
Tritanopia (blue-blind)
#0093A8
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5a78ee;
/* rgb */ color: rgb(90, 120, 238);
/* oklch */ color: oklch(61.1% 0.180 269.7);
Tailwind
colors: {
  custom: {
    50: '#969ef4',
    500: '#5a78ee',
    950: '#000000',
  },
}
SCSS
$custom: #5a78ee;
$custom-light: #969ef4;
$custom-dark: #000000;
JSON
{
  "hex": "#5a78ee",
  "rgb": {
    "r": 90,
    "g": 120,
    "b": 238
  },
  "hsl": {
    "h": 227.838,
    "s": 81.319,
    "l": 64.314
  },
  "oklch": {
    "l": 0.61099,
    "c": 0.18012,
    "h": 269.7
  },
  "luminance": 0.2178
}

Semantic roles & 50–950 ramp

primary
#5A78EE
secondary
#ECE1B8
accent
#B208DE
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5A78EE

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

Preview Lab → · Contrast checker → · Palette generator →

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