#5F75EB#5F75EB

#5F75EB is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.6% C 0.178 H 272.1°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#5F75EB
RGBrgb(95, 117, 235)
HSLhsl(231, 78%, 65%)
HSVhsv(231, 60%, 92%)
CMYKcmyk(59.6%, 50.2%, 0%, 7.8%)
CIE-LABlab(53.11, 26.96, -62.27)
CIE-LCHlch(53.11, 67.86, 293.41°)
OKLaboklab(60.6% 0.0065 -0.1783)
OKLCHoklch(60.6% 0.178 272.1)
XYZxyz(26.0710, 21.1515, 81.2899)
Luminance0.2115 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F75EB #EBD55F
analogous
#5FBBEB #5F75EB #8F5FEB
triadic
#5F75EB #EB5F75 #75EB5F
tetradic
#5F75EB #EB5FBB #EBD55F #5FEB8F
square
#5F75EB #EB5FBB #EBD55F #5FEB8F
split-complementary
#5F75EB #EB8F5F #BBEB5F
monochromatic
#1730B9 #2946E4 #5F75EB #95A4F2 #CCD3F9

Accessibility & contrast

On white

4.01
#5F75EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#5F75EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F75EB
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F75EB#FFFFFF#000000##000000
##5F75EB1.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3485EF
Deuteranopia (green-blind)
#1179E9
Tritanopia (blue-blind)
#0090A5
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5f75eb;
/* rgb */ color: rgb(95, 117, 235);
/* oklch */ color: oklch(60.6% 0.178 272.1);
Tailwind
colors: {
  custom: {
    50: '#989cf2',
    500: '#5f75eb',
    950: '#000000',
  },
}
SCSS
$custom: #5f75eb;
$custom-light: #989cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#5f75eb",
  "rgb": {
    "r": 95,
    "g": 117,
    "b": 235
  },
  "hsl": {
    "h": 230.571,
    "s": 77.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.60602,
    "c": 0.17839,
    "h": 272.1
  },
  "luminance": 0.21154
}

Semantic roles & 50–950 ramp

primary
#5F75EB
secondary
#EBE3BB
accent
#BA0BDA
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5F75EB

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

Preview Lab → · Contrast checker → · Palette generator →

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