#5F75E8#5F75E8

#5F75E8 is a mid, vivid blue. Relative luminance 0.210; OKLCH L 60.4% C 0.174 H 272.0°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#5F75E8
RGBrgb(95, 117, 232)
HSLhsl(230, 75%, 64%)
HSVhsv(230, 59%, 91%)
CMYKcmyk(59.1%, 49.6%, 0%, 9%)
CIE-LABlab(52.93, 25.98, -60.90)
CIE-LCHlch(52.93, 66.20, 293.10°)
OKLaboklab(60.4% 0.0062 -0.1742)
OKLCHoklch(60.4% 0.174 272)
XYZxyz(25.6413, 20.9796, 79.0265)
Luminance0.2098 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F75E8 #E8D25F
analogous
#5FBAE8 #5F75E8 #8E5FE8
triadic
#5F75E8 #E85F75 #75E85F
tetradic
#5F75E8 #E85FBA #E8D25F #5FE88E
square
#5F75E8 #E85FBA #E8D25F #5FE88E
split-complementary
#5F75E8 #E88E5F #BAE85F
monochromatic
#1A32B3 #2947E0 #5F75E8 #95A3F0 #CAD1F7

Accessibility & contrast

On white

4.04
#5F75E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#5F75E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F75E8
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F75E8#FFFFFF#000000##000000
##5F75E81.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3885EC
Deuteranopia (green-blind)
#1B79E6
Tritanopia (blue-blind)
#008FA4
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5f75e8;
/* rgb */ color: rgb(95, 117, 232);
/* oklch */ color: oklch(60.4% 0.174 272.0);
Tailwind
colors: {
  custom: {
    50: '#989cf0',
    500: '#5f75e8',
    950: '#000000',
  },
}
SCSS
$custom: #5f75e8;
$custom-light: #989cf0;
$custom-dark: #000000;
JSON
{
  "hex": "#5f75e8",
  "rgb": {
    "r": 95,
    "g": 117,
    "b": 232
  },
  "hsl": {
    "h": 230.365,
    "s": 74.863,
    "l": 64.118
  },
  "oklch": {
    "l": 0.604,
    "c": 0.17433,
    "h": 272
  },
  "luminance": 0.20982
}

Semantic roles & 50–950 ramp

primary
#5F75E8
secondary
#E9E2BA
accent
#B70ED7
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5F75E8

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

Preview Lab → · Contrast checker → · Palette generator →

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