#5A75F1#5A75F1

#5A75F1 is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.7% C 0.188 H 270.6°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#5A75F1
RGBrgb(90, 117, 241)
HSLhsl(229, 84%, 65%)
HSVhsv(229, 63%, 95%)
CMYKcmyk(62.7%, 51.5%, 0%, 5.5%)
CIE-LABlab(53.22, 28.09, -65.47)
CIE-LCHlch(53.22, 71.24, 293.22°)
OKLaboklab(60.73% 0.002 -0.1878)
OKLCHoklch(60.73% 0.188 270.6)
XYZxyz(26.4496, 21.2448, 85.9088)
Luminance0.2125 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A75F1 #F1D65A
analogous
#5AC0F1 #5A75F1 #8B5AF1
triadic
#5A75F1 #F15A75 #75F15A
tetradic
#5A75F1 #F15AC0 #F1D65A #5AF18B
square
#5A75F1 #F15AC0 #F1D65A #5AF18B
split-complementary
#5A75F1 #F18B5A #C0F15A
monochromatic
#1030C0 #2246EC #5A75F1 #92A4F6 #CBD3FB

Accessibility & contrast

On white

4.00
#5A75F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#5A75F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A75F1
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A75F1#FFFFFF#000000##000000
##5A75F11.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2986F5
Deuteranopia (green-blind)
#0079EE
Tritanopia (blue-blind)
#0092A8
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5a75f1;
/* rgb */ color: rgb(90, 117, 241);
/* oklch */ color: oklch(60.7% 0.188 270.6);
Tailwind
colors: {
  custom: {
    50: '#969cf6',
    500: '#5a75f1',
    950: '#000000',
  },
}
SCSS
$custom: #5a75f1;
$custom-light: #969cf6;
$custom-dark: #000000;
JSON
{
  "hex": "#5a75f1",
  "rgb": {
    "r": 90,
    "g": 117,
    "b": 241
  },
  "hsl": {
    "h": 229.272,
    "s": 84.358,
    "l": 64.902
  },
  "oklch": {
    "l": 0.60726,
    "c": 0.1878,
    "h": 270.6
  },
  "luminance": 0.21247
}

Semantic roles & 50–950 ramp

primary
#5A75F1
secondary
#EDE4BA
accent
#B905E1
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5A75F1

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

Preview Lab → · Contrast checker → · Palette generator →

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