#5A75EE#5A75EE

#5A75EE is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.5% C 0.184 H 270.6°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#5A75EE
RGBrgb(90, 117, 238)
HSLhsl(229, 81%, 64%)
HSVhsv(229, 62%, 93%)
CMYKcmyk(62.2%, 50.8%, 0%, 6.7%)
CIE-LABlab(53.02, 27.08, -64.11)
CIE-LCHlch(53.02, 69.60, 292.90°)
OKLaboklab(60.52% 0.0018 -0.1838)
OKLCHoklch(60.52% 0.184 270.6)
XYZxyz(26.0052, 21.0670, 83.5683)
Luminance0.2107 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A75EE #EED35A
analogous
#5ABFEE #5A75EE #895AEE
triadic
#5A75EE #EE5A75 #75EE5A
tetradic
#5A75EE #EE5ABF #EED35A #5AEE89
square
#5A75EE #EE5ABF #EED35A #5AEE89
split-complementary
#5A75EE #EE895A #BFEE5A
monochromatic
#1332BA #2347E8 #5A75EE #91A3F4 #C9D2F9

Accessibility & contrast

On white

4.03
#5A75EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#5A75EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A75EE
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A75EE#FFFFFF#000000##000000
##5A75EE1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E85F2
Deuteranopia (green-blind)
#0078EC
Tritanopia (blue-blind)
#0091A6
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5a75ee;
/* rgb */ color: rgb(90, 117, 238);
/* oklch */ color: oklch(60.5% 0.184 270.6);
Tailwind
colors: {
  custom: {
    50: '#969cf4',
    500: '#5a75ee',
    950: '#000000',
  },
}
SCSS
$custom: #5a75ee;
$custom-light: #969cf4;
$custom-dark: #000000;
JSON
{
  "hex": "#5a75ee",
  "rgb": {
    "r": 90,
    "g": 117,
    "b": 238
  },
  "hsl": {
    "h": 229.054,
    "s": 81.319,
    "l": 64.314
  },
  "oklch": {
    "l": 0.60518,
    "c": 0.1838,
    "h": 270.6
  },
  "luminance": 0.21069
}

Semantic roles & 50–950 ramp

primary
#5A75EE
secondary
#ECE2B8
accent
#B708DE
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5A75EE

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

Preview Lab → · Contrast checker → · Palette generator →

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