#5A6BE8#5A6BE8

#5A6BE8 is a mid, vivid blue. Relative luminance 0.185; OKLCH L 58.2% C 0.188 H 273.3°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#5A6BE8
RGBrgb(90, 107, 232)
HSLhsl(233, 76%, 63%)
HSVhsv(233, 61%, 91%)
CMYKcmyk(61.2%, 53.9%, 0%, 9%)
CIE-LABlab(50.11, 31.21, -65.45)
CIE-LCHlch(50.11, 72.51, 295.50°)
OKLaboklab(58.2% 0.0107 -0.1878)
OKLCHoklch(58.2% 0.188 273.3)
XYZxyz(24.0348, 18.5133, 78.6351)
Luminance0.1852 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6BE8 #E8D75A
analogous
#5AB2E8 #5A6BE8 #905AE8
triadic
#5A6BE8 #E85A6B #6BE85A
tetradic
#5A6BE8 #E85AB2 #E8D75A #5AE890
square
#5A6BE8 #E85AB2 #E8D75A #5AE890
split-complementary
#5A6BE8 #E8905A #B2E85A
monochromatic
#182AAF #243BE1 #5A6BE8 #909BEF #C5CBF7

Accessibility & contrast

On white

4.47
#5A6BE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#5A6BE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A6BE8
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6BE8#FFFFFF#000000##000000
##5A6BE81.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#107EEC
Deuteranopia (green-blind)
#0071E5
Tritanopia (blue-blind)
#00889F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5a6be8;
/* rgb */ color: rgb(90, 107, 232);
/* oklch */ color: oklch(58.2% 0.188 273.3);
Tailwind
colors: {
  custom: {
    50: '#9695f0',
    500: '#5a6be8',
    950: '#000000',
  },
}
SCSS
$custom: #5a6be8;
$custom-light: #9695f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6be8",
  "rgb": {
    "r": 90,
    "g": 107,
    "b": 232
  },
  "hsl": {
    "h": 232.817,
    "s": 75.532,
    "l": 63.137
  },
  "oklch": {
    "l": 0.58202,
    "c": 0.18815,
    "h": 273.3
  },
  "luminance": 0.18515
}

Semantic roles & 50–950 ramp

primary
#5A6BE8
secondary
#E8E2B5
accent
#C00ED8
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0F0D17
muted
#7E7E85

Preview Lab

Preview with #5A6BE8

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

Preview Lab → · Contrast checker → · Palette generator →

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