#5A6EDB#5A6EDB

#5A6EDB is a mid, vivid blue. Relative luminance 0.184; OKLCH L 57.9% C 0.167 H 272.3°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#5A6EDB
RGBrgb(90, 110, 219)
HSLhsl(231, 64%, 61%)
HSVhsv(231, 59%, 86%)
CMYKcmyk(58.9%, 49.8%, 0%, 14.1%)
CIE-LABlab(50.02, 25.06, -58.26)
CIE-LCHlch(50.02, 63.42, 293.27°)
OKLaboklab(57.86% 0.0068 -0.1667)
OKLCHoklch(57.86% 0.167 272.3)
XYZxyz(22.5743, 18.4382, 69.3734)
Luminance0.1844 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6EDB #DBC75A
analogous
#5AAEDB #5A6EDB #875ADB
triadic
#5A6EDB #DB5A6E #6EDB5A
tetradic
#5A6EDB #DB5AAE #DBC75A #5ADB87
square
#5A6EDB #DB5AAE #DBC75A #5ADB87
split-complementary
#5A6EDB #DB875A #AEDB5A
monochromatic
#213499 #2C45CB #5A6EDB #8C9AE6 #BEC6F1

Accessibility & contrast

On white

4.48
#5A6EDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#5A6EDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A6EDB
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6EDB#FFFFFF#000000##000000
##5A6EDB1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#347DDF
Deuteranopia (green-blind)
#1A72D9
Tritanopia (blue-blind)
#00879A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5a6edb;
/* rgb */ color: rgb(90, 110, 219);
/* oklch */ color: oklch(57.9% 0.167 272.3);
Tailwind
colors: {
  custom: {
    50: '#9397e7',
    500: '#5a6edb',
    950: '#000000',
  },
}
SCSS
$custom: #5a6edb;
$custom-light: #9397e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6edb",
  "rgb": {
    "r": 90,
    "g": 110,
    "b": 219
  },
  "hsl": {
    "h": 230.698,
    "s": 64.179,
    "l": 60.588
  },
  "oklch": {
    "l": 0.57864,
    "c": 0.16681,
    "h": 272.3
  },
  "luminance": 0.1844
}

Semantic roles & 50–950 ramp

primary
#5A6EDB
secondary
#E1D9B0
accent
#B01ACC
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5A6EDB

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

Preview Lab → · Contrast checker → · Palette generator →

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