#5F75ED#5F75ED

#5F75ED is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.7% C 0.181 H 272.1°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#5F75ED
RGBrgb(95, 117, 237)
HSLhsl(231, 80%, 65%)
HSVhsv(231, 60%, 93%)
CMYKcmyk(59.9%, 50.6%, 0%, 7.1%)
CIE-LABlab(53.24, 27.62, -63.19)
CIE-LCHlch(53.24, 68.96, 293.61°)
OKLaboklab(60.74% 0.0067 -0.181)
OKLCHoklch(60.74% 0.181 272.1)
XYZxyz(26.3616, 21.2678, 82.8202)
Luminance0.2127 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F75ED #EDD75F
analogous
#5FBCED #5F75ED #905FED
triadic
#5F75ED #ED5F75 #75ED5F
tetradic
#5F75ED #ED5FBC #EDD75F #5FED90
square
#5F75ED #ED5FBC #EDD75F #5FED90
split-complementary
#5F75ED #ED905F #BCED5F
monochromatic
#152FBC #2846E7 #5F75ED #96A4F3 #CDD4F9

Accessibility & contrast

On white

4.00
#5F75ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#5F75ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F75ED
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F75ED#FFFFFF#000000##000000
##5F75ED1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3186F1
Deuteranopia (green-blind)
#0779EB
Tritanopia (blue-blind)
#0091A6
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5f75ed;
/* rgb */ color: rgb(95, 117, 237);
/* oklch */ color: oklch(60.7% 0.181 272.1);
Tailwind
colors: {
  custom: {
    50: '#989cf3',
    500: '#5f75ed',
    950: '#000000',
  },
}
SCSS
$custom: #5f75ed;
$custom-light: #989cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#5f75ed",
  "rgb": {
    "r": 95,
    "g": 117,
    "b": 237
  },
  "hsl": {
    "h": 230.704,
    "s": 79.775,
    "l": 65.098
  },
  "oklch": {
    "l": 0.60738,
    "c": 0.18108,
    "h": 272.1
  },
  "luminance": 0.2127
}

Semantic roles & 50–950 ramp

primary
#5F75ED
secondary
#ECE5BC
accent
#BB09DC
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5F75ED

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

Preview Lab → · Contrast checker → · Palette generator →

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