#5A6BEA#5A6BEA

#5A6BEA is a mid, vivid blue. Relative luminance 0.186; OKLCH L 58.3% C 0.191 H 273.2°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#5A6BEA
RGBrgb(90, 107, 234)
HSLhsl(233, 77%, 64%)
HSVhsv(233, 62%, 92%)
CMYKcmyk(61.5%, 54.3%, 0%, 8.2%)
CIE-LABlab(50.25, 31.88, -66.35)
CIE-LCHlch(50.25, 73.61, 295.66°)
OKLaboklab(58.35% 0.0108 -0.1905)
OKLCHoklch(58.35% 0.191 273.2)
XYZxyz(24.3205, 18.6275, 80.1398)
Luminance0.1863 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6BEA #EAD95A
analogous
#5AB3EA #5A6BEA #915AEA
triadic
#5A6BEA #EA5A6B #6BEA5A
tetradic
#5A6BEA #EA5AB3 #EAD95A #5AEA91
square
#5A6BEA #EA5AB3 #EAD95A #5AEA91
split-complementary
#5A6BEA #EA915A #B3EA5A
monochromatic
#1729B3 #243AE3 #5A6BEA #909CF1 #C7CCF8

Accessibility & contrast

On white

4.44
#5A6BEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#5A6BEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A6BEA
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6BEA#FFFFFF#000000##000000
##5A6BEA1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#067EEE
Deuteranopia (green-blind)
#0071E7
Tritanopia (blue-blind)
#0089A0
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5a6bea;
/* rgb */ color: rgb(90, 107, 234);
/* oklch */ color: oklch(58.3% 0.191 273.2);
Tailwind
colors: {
  custom: {
    50: '#9695f2',
    500: '#5a6bea',
    950: '#000000',
  },
}
SCSS
$custom: #5a6bea;
$custom-light: #9695f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6bea",
  "rgb": {
    "r": 90,
    "g": 107,
    "b": 234
  },
  "hsl": {
    "h": 232.917,
    "s": 77.419,
    "l": 63.529
  },
  "oklch": {
    "l": 0.58347,
    "c": 0.19081,
    "h": 273.2
  },
  "luminance": 0.1863
}

Semantic roles & 50–950 ramp

primary
#5A6BEA
secondary
#E9E3B6
accent
#C10CDA
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0F0D17
muted
#7E7E85

Preview Lab

Preview with #5A6BEA

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

Preview Lab → · Contrast checker → · Palette generator →

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