#5A6BE2#5A6BE2

#5A6BE2 is a mid, vivid blue. Relative luminance 0.182; OKLCH L 57.8% C 0.180 H 273.3°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#5A6BE2
RGBrgb(90, 107, 226)
HSLhsl(233, 70%, 62%)
HSVhsv(233, 60%, 89%)
CMYKcmyk(60.2%, 52.7%, 0%, 11.4%)
CIE-LABlab(49.71, 29.23, -62.72)
CIE-LCHlch(49.71, 69.20, 294.98°)
OKLaboklab(57.77% 0.0104 -0.1798)
OKLCHoklch(57.77% 0.18 273.3)
XYZxyz(23.1971, 18.1782, 74.2231)
Luminance0.1818 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6BE2 #E2D15A
analogous
#5AAFE2 #5A6BE2 #8D5AE2
triadic
#5A6BE2 #E25A6B #6BE25A
tetradic
#5A6BE2 #E25AAF #E2D15A #5AE28D
square
#5A6BE2 #E25AAF #E2D15A #5AE28D
split-complementary
#5A6BE2 #E28D5A #AFE25A
monochromatic
#1D2EA5 #263CD9 #5A6BE2 #8E9AEB #C2C8F4

Accessibility & contrast

On white

4.53
#5A6BE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#5A6BE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A6BE2
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6BE2#FFFFFF#000000##000000
##5A6BE21.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#207CE6
Deuteranopia (green-blind)
#0070E0
Tritanopia (blue-blind)
#00879C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5a6be2;
/* rgb */ color: rgb(90, 107, 226);
/* oklch */ color: oklch(57.8% 0.180 273.3);
Tailwind
colors: {
  custom: {
    50: '#9595ec',
    500: '#5a6be2',
    950: '#000000',
  },
}
SCSS
$custom: #5a6be2;
$custom-light: #9595ec;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6be2",
  "rgb": {
    "r": 90,
    "g": 107,
    "b": 226
  },
  "hsl": {
    "h": 232.5,
    "s": 70.103,
    "l": 61.961
  },
  "oklch": {
    "l": 0.57773,
    "c": 0.18012,
    "h": 273.3
  },
  "luminance": 0.1818
}

Semantic roles & 50–950 ramp

primary
#5A6BE2
secondary
#E5DFB3
accent
#BA13D2
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5A6BE2

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

Preview Lab → · Contrast checker → · Palette generator →

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