#5A6BEF#5A6BEF

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

Color values

HEX#5A6BEF
RGBrgb(90, 107, 239)
HSLhsl(233, 82%, 65%)
HSVhsv(233, 62%, 94%)
CMYKcmyk(62.3%, 55.2%, 0%, 6.3%)
CIE-LABlab(50.59, 33.53, -68.60)
CIE-LCHlch(50.59, 76.36, 296.05°)
OKLaboklab(58.71% 0.011 -0.1971)
OKLCHoklch(58.71% 0.197 273.2)
XYZxyz(25.0490, 18.9189, 83.9763)
Luminance0.1892 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6BEF #EFDE5A
analogous
#5AB6EF #5A6BEF #935AEF
triadic
#5A6BEF #EF5A6B #6BEF5A
tetradic
#5A6BEF #EF5AB6 #EFDE5A #5AEF93
square
#5A6BEF #EF5AB6 #EFDE5A #5AEF93
split-complementary
#5A6BEF #EF935A #B6EF5A
monochromatic
#1226BC #2239EA #5A6BEF #929DF4 #CACFFA

Accessibility & contrast

On white

4.39
#5A6BEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#5A6BEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A6BEF
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6BEF#FFFFFF#000000##000000
##5A6BEF1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF4
Deuteranopia (green-blind)
#0072EC
Tritanopia (blue-blind)
#008BA3
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5a6bef;
/* rgb */ color: rgb(90, 107, 239);
/* oklch */ color: oklch(58.7% 0.197 273.2);
Tailwind
colors: {
  custom: {
    50: '#9795f5',
    500: '#5a6bef',
    950: '#000000',
  },
}
SCSS
$custom: #5a6bef;
$custom-light: #9795f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6bef",
  "rgb": {
    "r": 90,
    "g": 107,
    "b": 239
  },
  "hsl": {
    "h": 233.154,
    "s": 82.32,
    "l": 64.51
  },
  "oklch": {
    "l": 0.58713,
    "c": 0.19741,
    "h": 273.2
  },
  "luminance": 0.18921
}

Semantic roles & 50–950 ramp

primary
#5A6BEF
secondary
#ECE6B9
accent
#C607DF
background
#FAF9FF
surface
#F3F1FE
border
#CDCBD6
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5A6BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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