#5A6BEB#5A6BEB

#5A6BEB is a mid, vivid blue. Relative luminance 0.187; OKLCH L 58.4% C 0.192 H 273.2°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#5A6BEB
RGBrgb(90, 107, 235)
HSLhsl(233, 78%, 64%)
HSVhsv(233, 62%, 92%)
CMYKcmyk(61.7%, 54.5%, 0%, 7.8%)
CIE-LABlab(50.32, 32.21, -66.80)
CIE-LCHlch(50.32, 74.16, 295.74°)
OKLaboklab(58.42% 0.0108 -0.1918)
OKLCHoklch(58.42% 0.192 273.2)
XYZxyz(24.4646, 18.6852, 80.8985)
Luminance0.1869 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6BEB #EBDA5A
analogous
#5AB3EB #5A6BEB #915AEB
triadic
#5A6BEB #EB5A6B #6BEB5A
tetradic
#5A6BEB #EB5AB3 #EBDA5A #5AEB91
square
#5A6BEB #EB5AB3 #EBDA5A #5AEB91
split-complementary
#5A6BEB #EB915A #B3EB5A
monochromatic
#1629B5 #233AE4 #5A6BEB #919CF2 #C7CDF8

Accessibility & contrast

On white

4.43
#5A6BEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#5A6BEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A6BEB
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6BEB#FFFFFF#000000##000000
##5A6BEB1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EEF
Deuteranopia (green-blind)
#0072E8
Tritanopia (blue-blind)
#0089A1
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5a6beb;
/* rgb */ color: rgb(90, 107, 235);
/* oklch */ color: oklch(58.4% 0.192 273.2);
Tailwind
colors: {
  custom: {
    50: '#9695f2',
    500: '#5a6beb',
    950: '#000000',
  },
}
SCSS
$custom: #5a6beb;
$custom-light: #9695f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6beb",
  "rgb": {
    "r": 90,
    "g": 107,
    "b": 235
  },
  "hsl": {
    "h": 232.966,
    "s": 78.378,
    "l": 63.725
  },
  "oklch": {
    "l": 0.5842,
    "c": 0.19213,
    "h": 273.2
  },
  "luminance": 0.18687
}

Semantic roles & 50–950 ramp

primary
#5A6BEB
secondary
#EAE4B7
accent
#C20BDB
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0F0D17
muted
#7E7E85

Preview Lab

Preview with #5A6BEB

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

Preview Lab → · Contrast checker → · Palette generator →

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