#5B75EA#5B75EA

#5B75EA is a mid, vivid blue. Relative luminance 0.209; OKLCH L 60.3% C 0.178 H 270.8°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#5B75EA
RGBrgb(91, 117, 234)
HSLhsl(229, 77%, 64%)
HSVhsv(229, 61%, 92%)
CMYKcmyk(61.1%, 50%, 0%, 8.2%)
CIE-LABlab(52.82, 25.92, -62.19)
CIE-LCHlch(52.82, 67.38, 292.62°)
OKLaboklab(60.3% 0.0024 -0.1781)
OKLCHoklch(60.3% 0.178 270.8)
XYZxyz(25.5220, 20.8851, 80.5122)
Luminance0.2089 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B75EA #EAD05B
analogous
#5BBCEA #5B75EA #885BEA
triadic
#5B75EA #EA5B75 #75EA5B
tetradic
#5B75EA #EA5BBC #EAD05B #5BEA88
square
#5B75EA #EA5BBC #EAD05B #5BEA88
split-complementary
#5B75EA #EA885B #BCEA5B
monochromatic
#1733B4 #2547E3 #5B75EA #91A3F1 #C8D0F8

Accessibility & contrast

On white

4.06
#5B75EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#5B75EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B75EA
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B75EA#FFFFFF#000000##000000
##5B75EA1.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3485EE
Deuteranopia (green-blind)
#0D78E8
Tritanopia (blue-blind)
#0090A4
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5b75ea;
/* rgb */ color: rgb(91, 117, 234);
/* oklch */ color: oklch(60.3% 0.178 270.8);
Tailwind
colors: {
  custom: {
    50: '#969cf1',
    500: '#5b75ea',
    950: '#000000',
  },
}
SCSS
$custom: #5b75ea;
$custom-light: #969cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#5b75ea",
  "rgb": {
    "r": 91,
    "g": 117,
    "b": 234
  },
  "hsl": {
    "h": 229.091,
    "s": 77.297,
    "l": 63.725
  },
  "oklch": {
    "l": 0.60301,
    "c": 0.17815,
    "h": 270.8
  },
  "luminance": 0.20887
}

Semantic roles & 50–950 ramp

primary
#5B75EA
secondary
#EAE0B7
accent
#B40CDA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5B75EA

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

Preview Lab → · Contrast checker → · Palette generator →

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