#5F75E9#5F75E9

#5F75E9 is a mid, vivid blue. Relative luminance 0.210; OKLCH L 60.5% C 0.176 H 272.1°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#5F75E9
RGBrgb(95, 117, 233)
HSLhsl(230, 76%, 64%)
HSVhsv(230, 59%, 91%)
CMYKcmyk(59.2%, 49.8%, 0%, 8.6%)
CIE-LABlab(52.99, 26.30, -61.36)
CIE-LCHlch(52.99, 66.76, 293.21°)
OKLaboklab(60.47% 0.0063 -0.1756)
OKLCHoklch(60.47% 0.176 272.1)
XYZxyz(25.7837, 21.0366, 79.7767)
Luminance0.2104 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F75E9 #E9D35F
analogous
#5FBAE9 #5F75E9 #8E5FE9
triadic
#5F75E9 #E95F75 #75E95F
tetradic
#5F75E9 #E95FBA #E9D35F #5FE98E
square
#5F75E9 #E95FBA #E9D35F #5FE98E
split-complementary
#5F75E9 #E98E5F #BAE95F
monochromatic
#1932B5 #2947E2 #5F75E9 #95A3F0 #CBD2F8

Accessibility & contrast

On white

4.03
#5F75E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#5F75E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F75E9
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F75E9#FFFFFF#000000##000000
##5F75E91.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3785ED
Deuteranopia (green-blind)
#1879E7
Tritanopia (blue-blind)
#0090A4
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5f75e9;
/* rgb */ color: rgb(95, 117, 233);
/* oklch */ color: oklch(60.5% 0.176 272.1);
Tailwind
colors: {
  custom: {
    50: '#989cf1',
    500: '#5f75e9',
    950: '#000000',
  },
}
SCSS
$custom: #5f75e9;
$custom-light: #989cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#5f75e9",
  "rgb": {
    "r": 95,
    "g": 117,
    "b": 233
  },
  "hsl": {
    "h": 230.435,
    "s": 75.824,
    "l": 64.314
  },
  "oklch": {
    "l": 0.60467,
    "c": 0.17568,
    "h": 272.1
  },
  "luminance": 0.21039
}

Semantic roles & 50–950 ramp

primary
#5F75E9
secondary
#EAE2BA
accent
#B80DD8
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5F75E9

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

Preview Lab → · Contrast checker → · Palette generator →

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