#5A6EDA#5A6EDA

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

Color values

HEX#5A6EDA
RGBrgb(90, 110, 218)
HSLhsl(231, 63%, 60%)
HSVhsv(231, 59%, 85%)
CMYKcmyk(58.7%, 49.5%, 0%, 14.5%)
CIE-LABlab(49.96, 24.73, -57.80)
CIE-LCHlch(49.96, 62.87, 293.16°)
OKLaboklab(57.8% 0.0067 -0.1653)
OKLCHoklch(57.8% 0.165 272.3)
XYZxyz(22.4431, 18.3857, 68.6822)
Luminance0.1839 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6EDA #DAC65A
analogous
#5AAEDA #5A6EDA #865ADA
triadic
#5A6EDA #DA5A6E #6EDA5A
tetradic
#5A6EDA #DA5AAE #DAC65A #5ADA86
square
#5A6EDA #DA5AAE #DAC65A #5ADA86
split-complementary
#5A6EDA #DA865A #AEDA5A
monochromatic
#223498 #2D46CA #5A6EDA #8C9AE5 #BEC6F0

Accessibility & contrast

On white

4.49
#5A6EDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#5A6EDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A6EDA
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6EDA#FFFFFF#000000##000000
##5A6EDA1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#357DDE
Deuteranopia (green-blind)
#1C72D8
Tritanopia (blue-blind)
#00879A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5a6eda;
/* rgb */ color: rgb(90, 110, 218);
/* oklch */ color: oklch(57.8% 0.165 272.3);
Tailwind
colors: {
  custom: {
    50: '#9397e6',
    500: '#5a6eda',
    950: '#000000',
  },
}
SCSS
$custom: #5a6eda;
$custom-light: #9397e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6eda",
  "rgb": {
    "r": 90,
    "g": 110,
    "b": 218
  },
  "hsl": {
    "h": 230.625,
    "s": 63.366,
    "l": 60.392
  },
  "oklch": {
    "l": 0.57797,
    "c": 0.16544,
    "h": 272.3
  },
  "luminance": 0.18387
}

Semantic roles & 50–950 ramp

primary
#5A6EDA
secondary
#E0D9AF
accent
#B01ACB
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5A6EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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