#5F75DD#5F75DD

#5F75DD is a mid, vivid blue. Relative luminance 0.204; OKLCH L 59.7% C 0.159 H 271.8°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#5F75DD
RGBrgb(95, 117, 221)
HSLhsl(230, 65%, 62%)
HSVhsv(230, 57%, 87%)
CMYKcmyk(57%, 47.1%, 0%, 13.3%)
CIE-LABlab(52.26, 22.37, -55.79)
CIE-LCHlch(52.26, 60.11, 291.85°)
OKLaboklab(59.68% 0.005 -0.1592)
OKLCHoklch(59.68% 0.159 271.8)
XYZxyz(24.1275, 20.3741, 71.0538)
Luminance0.2038 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F75DD #DDC75F
analogous
#5FB4DD #5F75DD #885FDD
triadic
#5F75DD #DD5F75 #75DD5F
tetradic
#5F75DD #DD5FB4 #DDC75F #5FDD88
square
#5F75DD #DD5FB4 #DDC75F #5FDD88
split-complementary
#5F75DD #DD885F #B4DD5F
monochromatic
#2238A0 #2D4AD2 #5F75DD #91A1E8 #C4CCF2

Accessibility & contrast

On white

4.14
#5F75DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#5F75DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F75DD
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F75DD#FFFFFF#000000##000000
##5F75DD1.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4382E1
Deuteranopia (green-blind)
#3177DB
Tritanopia (blue-blind)
#028C9E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5f75dd;
/* rgb */ color: rgb(95, 117, 221);
/* oklch */ color: oklch(59.7% 0.159 271.8);
Tailwind
colors: {
  custom: {
    50: '#969ce8',
    500: '#5f75dd',
    950: '#000000',
  },
}
SCSS
$custom: #5f75dd;
$custom-light: #969ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#5f75dd",
  "rgb": {
    "r": 95,
    "g": 117,
    "b": 221
  },
  "hsl": {
    "h": 229.524,
    "s": 64.948,
    "l": 61.961
  },
  "oklch": {
    "l": 0.59677,
    "c": 0.15929,
    "h": 271.8
  },
  "luminance": 0.20376
}

Semantic roles & 50–950 ramp

primary
#5F75DD
secondary
#E3DBB5
accent
#AD19CD
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5F75DD

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

Preview Lab → · Contrast checker → · Palette generator →

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