#5B75DF#5B75DF

#5B75DF is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.6% C 0.163 H 270.4°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#5B75DF
RGBrgb(91, 117, 223)
HSLhsl(228, 67%, 62%)
HSVhsv(228, 59%, 87%)
CMYKcmyk(59.2%, 47.5%, 0%, 12.5%)
CIE-LABlab(52.14, 22.26, -57.11)
CIE-LCHlch(52.14, 61.30, 291.30°)
OKLaboklab(59.57% 0.0012 -0.1632)
OKLCHoklch(59.57% 0.163 270.4)
XYZxyz(23.9905, 20.2725, 72.4465)
Luminance0.2027 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B75DF #DFC55B
analogous
#5BB7DF #5B75DF #835BDF
triadic
#5B75DF #DF5B75 #75DF5B
tetradic
#5B75DF #DF5BB7 #DFC55B #5BDF83
square
#5B75DF #DF5BB7 #DFC55B #5BDF83
split-complementary
#5B75DF #DF835B #B7DF5B
monochromatic
#1F39A0 #294BD4 #5B75DF #8EA0E9 #C1CBF3

Accessibility & contrast

On white

4.15
#5B75DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#5B75DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B75DF
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B75DF#FFFFFF#000000##000000
##5B75DF1.004.155.055.05
#FFFFFF4.151.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4082E3
Deuteranopia (green-blind)
#2A77DD
Tritanopia (blue-blind)
#008D9F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5b75df;
/* rgb */ color: rgb(91, 117, 223);
/* oklch */ color: oklch(59.6% 0.163 270.4);
Tailwind
colors: {
  custom: {
    50: '#949cea',
    500: '#5b75df',
    950: '#000000',
  },
}
SCSS
$custom: #5b75df;
$custom-light: #949cea;
$custom-dark: #000000;
JSON
{
  "hex": "#5b75df",
  "rgb": {
    "r": 91,
    "g": 117,
    "b": 223
  },
  "hsl": {
    "h": 228.182,
    "s": 67.347,
    "l": 61.569
  },
  "oklch": {
    "l": 0.59567,
    "c": 0.16318,
    "h": 270.4
  },
  "luminance": 0.20274
}

Semantic roles & 50–950 ramp

primary
#5B75DF
secondary
#E3DAB2
accent
#AB16CF
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5B75DF

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

Preview Lab → · Contrast checker → · Palette generator →

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