#5A6BEE#5A6BEE

#5A6BEE is a mid, vivid blue. Relative luminance 0.189; OKLCH L 58.6% C 0.196 H 273.2°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#5A6BEE
RGBrgb(90, 107, 238)
HSLhsl(233, 81%, 64%)
HSVhsv(233, 62%, 93%)
CMYKcmyk(62.2%, 55%, 0%, 6.7%)
CIE-LABlab(50.52, 33.20, -68.15)
CIE-LCHlch(50.52, 75.81, 295.97°)
OKLaboklab(58.64% 0.0109 -0.1958)
OKLCHoklch(58.64% 0.196 273.2)
XYZxyz(24.9016, 18.8600, 83.2004)
Luminance0.1886 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6BEE #EEDD5A
analogous
#5AB5EE #5A6BEE #935AEE
triadic
#5A6BEE #EE5A6B #6BEE5A
tetradic
#5A6BEE #EE5AB5 #EEDD5A #5AEE93
square
#5A6BEE #EE5AB5 #EEDD5A #5AEE93
split-complementary
#5A6BEE #EE935A #B5EE5A
monochromatic
#1326BA #2339E8 #5A6BEE #919DF4 #C9CFF9

Accessibility & contrast

On white

4.40
#5A6BEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#5A6BEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A6BEE
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6BEE#FFFFFF#000000##000000
##5A6BEE1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF2
Deuteranopia (green-blind)
#0072EB
Tritanopia (blue-blind)
#008AA2
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5a6bee;
/* rgb */ color: rgb(90, 107, 238);
/* oklch */ color: oklch(58.6% 0.196 273.2);
Tailwind
colors: {
  custom: {
    50: '#9795f4',
    500: '#5a6bee',
    950: '#000000',
  },
}
SCSS
$custom: #5a6bee;
$custom-light: #9795f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6bee",
  "rgb": {
    "r": 90,
    "g": 107,
    "b": 238
  },
  "hsl": {
    "h": 233.108,
    "s": 81.319,
    "l": 64.314
  },
  "oklch": {
    "l": 0.58639,
    "c": 0.1961,
    "h": 273.2
  },
  "luminance": 0.18862
}

Semantic roles & 50–950 ramp

primary
#5A6BEE
secondary
#ECE6B8
accent
#C508DE
background
#FAF9FF
surface
#F3F1FE
border
#CDCBD6
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5A6BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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