#5F75EA#5F75EA

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

Color values

HEX#5F75EA
RGBrgb(95, 117, 234)
HSLhsl(231, 77%, 65%)
HSVhsv(231, 59%, 92%)
CMYKcmyk(59.4%, 50%, 0%, 8.2%)
CIE-LABlab(53.05, 26.63, -61.81)
CIE-LCHlch(53.05, 67.31, 293.31°)
OKLaboklab(60.53% 0.0064 -0.1769)
OKLCHoklch(60.53% 0.177 272.1)
XYZxyz(25.9270, 21.0939, 80.5312)
Luminance0.2110 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F75EA #EAD45F
analogous
#5FBAEA #5F75EA #8F5FEA
triadic
#5F75EA #EA5F75 #75EA5F
tetradic
#5F75EA #EA5FBA #EAD45F #5FEA8F
square
#5F75EA #EA5FBA #EAD45F #5FEA8F
split-complementary
#5F75EA #EA8F5F #BAEA5F
monochromatic
#1831B7 #2946E3 #5F75EA #95A4F1 #CBD2F8

Accessibility & contrast

On white

4.02
#5F75EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#5F75EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F75EA
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F75EA#FFFFFF#000000##000000
##5F75EA1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3585EE
Deuteranopia (green-blind)
#1579E8
Tritanopia (blue-blind)
#0090A4
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5f75ea;
/* rgb */ color: rgb(95, 117, 234);
/* oklch */ color: oklch(60.5% 0.177 272.1);
Tailwind
colors: {
  custom: {
    50: '#989cf1',
    500: '#5f75ea',
    950: '#000000',
  },
}
SCSS
$custom: #5f75ea;
$custom-light: #989cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#5f75ea",
  "rgb": {
    "r": 95,
    "g": 117,
    "b": 234
  },
  "hsl": {
    "h": 230.504,
    "s": 76.796,
    "l": 64.51
  },
  "oklch": {
    "l": 0.60534,
    "c": 0.17704,
    "h": 272.1
  },
  "luminance": 0.21096
}

Semantic roles & 50–950 ramp

primary
#5F75EA
secondary
#EAE3BA
accent
#B90CD9
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5F75EA

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

Preview Lab → · Contrast checker → · Palette generator →

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