#5A7ADA#5A7ADA

#5A7ADA is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.2% C 0.150 H 267.8°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#5A7ADA
RGBrgb(90, 122, 218)
HSLhsl(225, 63%, 60%)
HSVhsv(225, 59%, 85%)
CMYKcmyk(58.7%, 44%, 0%, 14.5%)
CIE-LABlab(53.12, 17.35, -52.74)
CIE-LCHlch(53.12, 55.52, 288.21°)
OKLaboklab(60.2% -0.0056 -0.1503)
OKLCHoklch(60.2% 0.15 267.8)
XYZxyz(23.8266, 21.1527, 69.1434)
Luminance0.2115 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A7ADA #DABA5A
analogous
#5ABADA #5A7ADA #7A5ADA
triadic
#5A7ADA #DA5A7A #7ADA5A
tetradic
#5A7ADA #DA5ABA #DABA5A #5ADA7A
square
#5A7ADA #DA5ABA #DABA5A #5ADA7A
split-complementary
#5A7ADA #DA7A5A #BADA5A
monochromatic
#223F98 #2D54CA #5A7ADA #8CA2E5 #BECBF0

Accessibility & contrast

On white

4.01
#5A7ADA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#5A7ADA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A7ADA
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A7ADA#FFFFFF#000000##000000
##5A7ADA1.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E85DE
Deuteranopia (green-blind)
#3C79D8
Tritanopia (blue-blind)
#008F9F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5a7ada;
/* rgb */ color: rgb(90, 122, 218);
/* oklch */ color: oklch(60.2% 0.150 267.8);
Tailwind
colors: {
  custom: {
    50: '#93a0e6',
    500: '#5a7ada',
    950: '#000000',
  },
}
SCSS
$custom: #5a7ada;
$custom-light: #93a0e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5a7ada",
  "rgb": {
    "r": 90,
    "g": 122,
    "b": 218
  },
  "hsl": {
    "h": 225,
    "s": 63.366,
    "l": 60.392
  },
  "oklch": {
    "l": 0.602,
    "c": 0.15041,
    "h": 267.8
  },
  "luminance": 0.21155
}

Semantic roles & 50–950 ramp

primary
#5A7ADA
secondary
#E0D4AF
accent
#9F1ACB
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5A7ADA

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

Preview Lab → · Contrast checker → · Palette generator →

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