#5F75EE#5F75EE

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

Color values

HEX#5F75EE
RGBrgb(95, 117, 238)
HSLhsl(231, 81%, 65%)
HSVhsv(231, 60%, 93%)
CMYKcmyk(60.1%, 50.8%, 0%, 6.7%)
CIE-LABlab(53.30, 27.95, -63.64)
CIE-LCHlch(53.30, 69.51, 293.71°)
OKLaboklab(60.81% 0.0068 -0.1823)
OKLCHoklch(60.81% 0.182 272.1)
XYZxyz(26.5081, 21.3264, 83.5918)
Luminance0.2133 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F75EE #EED85F
analogous
#5FBDEE #5F75EE #905FEE
triadic
#5F75EE #EE5F75 #75EE5F
tetradic
#5F75EE #EE5FBD #EED85F #5FEE90
square
#5F75EE #EE5FBD #EED85F #5FEE90
split-complementary
#5F75EE #EE905F #BDEE5F
monochromatic
#142EBE #2845E8 #5F75EE #96A5F4 #CED4FA

Accessibility & contrast

On white

3.99
#5F75EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#5F75EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F75EE
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F75EE#FFFFFF#000000##000000
##5F75EE1.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3086F2
Deuteranopia (green-blind)
#0179EB
Tritanopia (blue-blind)
#0091A6
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5f75ee;
/* rgb */ color: rgb(95, 117, 238);
/* oklch */ color: oklch(60.8% 0.182 272.1);
Tailwind
colors: {
  custom: {
    50: '#989cf4',
    500: '#5f75ee',
    950: '#000000',
  },
}
SCSS
$custom: #5f75ee;
$custom-light: #989cf4;
$custom-dark: #000000;
JSON
{
  "hex": "#5f75ee",
  "rgb": {
    "r": 95,
    "g": 117,
    "b": 238
  },
  "hsl": {
    "h": 230.769,
    "s": 80.791,
    "l": 65.294
  },
  "oklch": {
    "l": 0.60806,
    "c": 0.18243,
    "h": 272.1
  },
  "luminance": 0.21329
}

Semantic roles & 50–950 ramp

primary
#5F75EE
secondary
#ECE5BC
accent
#BC08DD
background
#FAF9FF
surface
#F3F2FE
border
#CDCCD6
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5F75EE

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

Preview Lab → · Contrast checker → · Palette generator →

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