#5A7EEF#5A7EEF

#5A7EEF is a light, vivid blue. Relative luminance 0.233; OKLCH L 62.3% C 0.174 H 267.8°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#5A7EEF
RGBrgb(90, 126, 239)
HSLhsl(226, 82%, 65%)
HSVhsv(226, 62%, 94%)
CMYKcmyk(62.3%, 47.3%, 0%, 6.3%)
CIE-LABlab(55.41, 21.92, -60.83)
CIE-LCHlch(55.41, 64.66, 289.82°)
OKLaboklab(62.35% -0.0066 -0.174)
OKLCHoklch(62.35% 0.174 267.8)
XYZxyz(27.2520, 23.3250, 84.7106)
Luminance0.2333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A7EEF #EFCB5A
analogous
#5AC9EF #5A7EEF #815AEF
triadic
#5A7EEF #EF5A7E #7EEF5A
tetradic
#5A7EEF #EF5AC9 #EFCB5A #5AEF81
square
#5A7EEF #EF5AC9 #EFCB5A #5AEF81
split-complementary
#5A7EEF #EF815A #C9EF5A
monochromatic
#123BBC #2252EA #5A7EEF #92AAF4 #CAD5FA

Accessibility & contrast

On white

3.71
#5A7EEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#5A7EEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A7EEF
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A7EEF#FFFFFF#000000##000000
##5A7EEF1.003.715.675.67
#FFFFFF3.711.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#448CF3
Deuteranopia (green-blind)
#277EED
Tritanopia (blue-blind)
#0098AB
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5a7eef;
/* rgb */ color: rgb(90, 126, 239);
/* oklch */ color: oklch(62.3% 0.174 267.8);
Tailwind
colors: {
  custom: {
    50: '#96a2f5',
    500: '#5a7eef',
    950: '#000000',
  },
}
SCSS
$custom: #5a7eef;
$custom-light: #96a2f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5a7eef",
  "rgb": {
    "r": 90,
    "g": 126,
    "b": 239
  },
  "hsl": {
    "h": 225.503,
    "s": 82.32,
    "l": 64.51
  },
  "oklch": {
    "l": 0.62347,
    "c": 0.17416,
    "h": 267.8
  },
  "luminance": 0.23327
}

Semantic roles & 50–950 ramp

primary
#5A7EEF
secondary
#ECE0B9
accent
#AB07DF
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0F17
muted
#7E7E85

Preview Lab

Preview with #5A7EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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