#5A6AEC#5A6AEC

#5A6AEC is a mid, vivid blue. Relative luminance 0.185; OKLCH L 58.3% C 0.195 H 273.5°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#5A6AEC
RGBrgb(90, 106, 236)
HSLhsl(233, 79%, 64%)
HSVhsv(233, 62%, 93%)
CMYKcmyk(61.9%, 55.1%, 0%, 7.5%)
CIE-LABlab(50.14, 33.15, -67.65)
CIE-LCHlch(50.14, 75.34, 296.10°)
OKLaboklab(58.31% 0.0118 -0.1943)
OKLCHoklch(58.31% 0.195 273.5)
XYZxyz(24.5058, 18.5358, 81.6270)
Luminance0.1854 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6AEC #ECDC5A
analogous
#5AB3EC #5A6AEC #935AEC
triadic
#5A6AEC #EC5A6A #6AEC5A
tetradic
#5A6AEC #EC5AB3 #ECDC5A #5AEC93
square
#5A6AEC #EC5AB3 #ECDC5A #5AEC93
split-complementary
#5A6AEC #EC935A #B3EC5A
monochromatic
#1527B7 #2338E6 #5A6AEC #919CF2 #C8CDF9

Accessibility & contrast

On white

4.46
#5A6AEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#5A6AEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A6AEC
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6AEC#FFFFFF#000000##000000
##5A6AEC1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF0
Deuteranopia (green-blind)
#0071E9
Tritanopia (blue-blind)
#0089A1
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5a6aec;
/* rgb */ color: rgb(90, 106, 236);
/* oklch */ color: oklch(58.3% 0.195 273.5);
Tailwind
colors: {
  custom: {
    50: '#9694f3',
    500: '#5a6aec',
    950: '#000000',
  },
}
SCSS
$custom: #5a6aec;
$custom-light: #9694f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6aec",
  "rgb": {
    "r": 90,
    "g": 106,
    "b": 236
  },
  "hsl": {
    "h": 233.425,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.58309,
    "c": 0.19469,
    "h": 273.5
  },
  "luminance": 0.18538
}

Semantic roles & 50–950 ramp

primary
#5A6AEC
secondary
#EBE5B7
accent
#C50ADC
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0F0D17
muted
#7E7E85

Preview Lab

Preview with #5A6AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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