#5F75E4#5F75E4

#5F75E4 is a mid, vivid blue. Relative luminance 0.208; OKLCH L 60.1% C 0.169 H 272.0°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#5F75E4
RGBrgb(95, 117, 228)
HSLhsl(230, 71%, 63%)
HSVhsv(230, 58%, 89%)
CMYKcmyk(58.3%, 48.7%, 0%, 10.6%)
CIE-LABlab(52.68, 24.66, -59.05)
CIE-LCHlch(52.68, 63.99, 292.67°)
OKLaboklab(60.13% 0.0058 -0.1688)
OKLCHoklch(60.13% 0.169 272)
XYZxyz(25.0796, 20.7550, 76.0682)
Luminance0.2076 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F75E4 #E4CE5F
analogous
#5FB7E4 #5F75E4 #8B5FE4
triadic
#5F75E4 #E45F75 #75E45F
tetradic
#5F75E4 #E45FB7 #E4CE5F #5FE48B
square
#5F75E4 #E45FB7 #E4CE5F #5FE48B
split-complementary
#5F75E4 #E48B5F #B7E45F
monochromatic
#1D35AC #2B48DB #5F75E4 #93A2ED #C8CFF6

Accessibility & contrast

On white

4.08
#5F75E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#5F75E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F75E4
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F75E4#FFFFFF#000000##000000
##5F75E41.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C84E8
Deuteranopia (green-blind)
#2578E2
Tritanopia (blue-blind)
#008EA2
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5f75e4;
/* rgb */ color: rgb(95, 117, 228);
/* oklch */ color: oklch(60.1% 0.169 272.0);
Tailwind
colors: {
  custom: {
    50: '#979ced',
    500: '#5f75e4',
    950: '#000000',
  },
}
SCSS
$custom: #5f75e4;
$custom-light: #979ced;
$custom-dark: #000000;
JSON
{
  "hex": "#5f75e4",
  "rgb": {
    "r": 95,
    "g": 117,
    "b": 228
  },
  "hsl": {
    "h": 230.075,
    "s": 71.123,
    "l": 63.333
  },
  "oklch": {
    "l": 0.60134,
    "c": 0.16889,
    "h": 272
  },
  "luminance": 0.20757
}

Semantic roles & 50–950 ramp

primary
#5F75E4
secondary
#E7DFB8
accent
#B312D3
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5F75E4

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

Preview Lab → · Contrast checker → · Palette generator →

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