#5B75DD#5B75DD

#5B75DD is a mid, vivid blue. Relative luminance 0.202; OKLCH L 59.4% C 0.160 H 270.3°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#5B75DD
RGBrgb(91, 117, 221)
HSLhsl(228, 66%, 61%)
HSVhsv(228, 59%, 87%)
CMYKcmyk(58.8%, 47.1%, 0%, 13.3%)
CIE-LABlab(52.02, 21.60, -56.18)
CIE-LCHlch(52.02, 60.19, 291.03°)
OKLaboklab(59.44% 0.001 -0.1604)
OKLCHoklch(59.44% 0.16 270.3)
XYZxyz(23.7225, 20.1653, 71.0348)
Luminance0.2017 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B75DD #DDC35B
analogous
#5BB6DD #5B75DD #825BDD
triadic
#5B75DD #DD5B75 #75DD5B
tetradic
#5B75DD #DD5BB6 #DDC35B #5BDD82
square
#5B75DD #DD5BB6 #DDC35B #5BDD82
split-complementary
#5B75DD #DD825B #B6DD5B
monochromatic
#21399D #2B4CD0 #5B75DD #8EA0E8 #C0CAF2

Accessibility & contrast

On white

4.17
#5B75DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#5B75DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B75DD
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B75DD#FFFFFF#000000##000000
##5B75DD1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4282E1
Deuteranopia (green-blind)
#2D77DB
Tritanopia (blue-blind)
#008C9E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5b75dd;
/* rgb */ color: rgb(91, 117, 221);
/* oklch */ color: oklch(59.4% 0.160 270.3);
Tailwind
colors: {
  custom: {
    50: '#949ce8',
    500: '#5b75dd',
    950: '#000000',
  },
}
SCSS
$custom: #5b75dd;
$custom-light: #949ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#5b75dd",
  "rgb": {
    "r": 91,
    "g": 117,
    "b": 221
  },
  "hsl": {
    "h": 228,
    "s": 65.657,
    "l": 61.176
  },
  "oklch": {
    "l": 0.59437,
    "c": 0.16044,
    "h": 270.3
  },
  "luminance": 0.20167
}

Semantic roles & 50–950 ramp

primary
#5B75DD
secondary
#E2D9B1
accent
#A918CE
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5B75DD

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

Preview Lab → · Contrast checker → · Palette generator →

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