#5A6FEE#5A6FEE

#5A6FEE is a mid, vivid blue. Relative luminance 0.197; OKLCH L 59.4% C 0.191 H 272.2°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#5A6FEE
RGBrgb(90, 111, 238)
HSLhsl(231, 81%, 64%)
HSVhsv(231, 62%, 93%)
CMYKcmyk(62.2%, 53.4%, 0%, 6.7%)
CIE-LABlab(51.51, 30.76, -66.55)
CIE-LCHlch(51.51, 73.31, 294.80°)
OKLaboklab(59.38% 0.0073 -0.191)
OKLCHoklch(59.38% 0.191 272.2)
XYZxyz(25.3284, 19.7134, 83.3427)
Luminance0.1972 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6FEE #EED95A
analogous
#5AB9EE #5A6FEE #8F5AEE
triadic
#5A6FEE #EE5A6F #6FEE5A
tetradic
#5A6FEE #EE5AB9 #EED95A #5AEE8F
square
#5A6FEE #EE5AB9 #EED95A #5AEE8F
split-complementary
#5A6FEE #EE8F5A #B9EE5A
monochromatic
#132BBA #233FE8 #5A6FEE #919FF4 #C9D0F9

Accessibility & contrast

On white

4.25
#5A6FEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#5A6FEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A6FEE
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6FEE#FFFFFF#000000##000000
##5A6FEE1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1582F2
Deuteranopia (green-blind)
#0074EB
Tritanopia (blue-blind)
#008DA4
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5a6fee;
/* rgb */ color: rgb(90, 111, 238);
/* oklch */ color: oklch(59.4% 0.191 272.2);
Tailwind
colors: {
  custom: {
    50: '#9698f4',
    500: '#5a6fee',
    950: '#000000',
  },
}
SCSS
$custom: #5a6fee;
$custom-light: #9698f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6fee",
  "rgb": {
    "r": 90,
    "g": 111,
    "b": 238
  },
  "hsl": {
    "h": 231.486,
    "s": 81.319,
    "l": 64.314
  },
  "oklch": {
    "l": 0.5938,
    "c": 0.19118,
    "h": 272.2
  },
  "luminance": 0.19716
}

Semantic roles & 50–950 ramp

primary
#5A6FEE
secondary
#ECE4B8
accent
#BF08DE
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0D17
muted
#7E7E85

Preview Lab

Preview with #5A6FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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