#5B75EF#5B75EF

#5B75EF is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.6% C 0.185 H 270.9°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#5B75EF
RGBrgb(91, 117, 239)
HSLhsl(229, 82%, 65%)
HSVhsv(229, 62%, 94%)
CMYKcmyk(61.9%, 51%, 0%, 6.3%)
CIE-LABlab(53.14, 27.59, -64.47)
CIE-LCHlch(53.14, 70.13, 293.17°)
OKLaboklab(60.64% 0.0029 -0.1848)
OKLCHoklch(60.64% 0.185 270.9)
XYZxyz(26.2504, 21.1765, 84.3487)
Luminance0.2118 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B75EF #EFD55B
analogous
#5BBFEF #5B75EF #8B5BEF
triadic
#5B75EF #EF5B75 #75EF5B
tetradic
#5B75EF #EF5BBF #EFD55B #5BEF8B
square
#5B75EF #EF5BBF #EFD55B #5BEF8B
split-complementary
#5B75EF #EF8B5B #BFEF5B
monochromatic
#1230BD #2346EA #5B75EF #93A4F4 #CBD3FA

Accessibility & contrast

On white

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

On black

5.24
#5B75EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B75EF
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B75EF#FFFFFF#000000##000000
##5B75EF1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D86F3
Deuteranopia (green-blind)
#0079EC
Tritanopia (blue-blind)
#0091A7
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5b75ef;
/* rgb */ color: rgb(91, 117, 239);
/* oklch */ color: oklch(60.6% 0.185 270.9);
Tailwind
colors: {
  custom: {
    50: '#979cf5',
    500: '#5b75ef',
    950: '#000000',
  },
}
SCSS
$custom: #5b75ef;
$custom-light: #979cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#5b75ef",
  "rgb": {
    "r": 91,
    "g": 117,
    "b": 239
  },
  "hsl": {
    "h": 229.459,
    "s": 82.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.60644,
    "c": 0.18486,
    "h": 270.9
  },
  "luminance": 0.21179
}

Semantic roles & 50–950 ramp

primary
#5B75EF
secondary
#ECE3BA
accent
#B907DF
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5B75EF

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

Preview Lab → · Contrast checker → · Palette generator →

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