#5F73EE#5F73EE

#5F73EE is a mid, vivid blue. Relative luminance 0.209; OKLCH L 60.4% C 0.185 H 272.7°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#5F73EE
RGBrgb(95, 115, 238)
HSLhsl(232, 81%, 65%)
HSVhsv(232, 60%, 93%)
CMYKcmyk(60.1%, 51.7%, 0%, 6.7%)
CIE-LABlab(52.80, 29.17, -64.45)
CIE-LCHlch(52.80, 70.74, 294.35°)
OKLaboklab(60.43% 0.0087 -0.1847)
OKLCHoklch(60.43% 0.185 272.7)
XYZxyz(26.2776, 20.8653, 83.5150)
Luminance0.2087 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F73EE #EEDA5F
analogous
#5FBBEE #5F73EE #925FEE
triadic
#5F73EE #EE5F73 #73EE5F
tetradic
#5F73EE #EE5FBB #EEDA5F #5FEE92
square
#5F73EE #EE5FBB #EEDA5F #5FEE92
split-complementary
#5F73EE #EE925F #BBEE5F
monochromatic
#142CBE #2843E8 #5F73EE #96A3F4 #CED4FA

Accessibility & contrast

On white

4.06
#5F73EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#5F73EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F73EE
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F73EE#FFFFFF#000000##000000
##5F73EE1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A85F2
Deuteranopia (green-blind)
#0078EB
Tritanopia (blue-blind)
#0090A6
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5f73ee;
/* rgb */ color: rgb(95, 115, 238);
/* oklch */ color: oklch(60.4% 0.185 272.7);
Tailwind
colors: {
  custom: {
    50: '#999bf4',
    500: '#5f73ee',
    950: '#000000',
  },
}
SCSS
$custom: #5f73ee;
$custom-light: #999bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#5f73ee",
  "rgb": {
    "r": 95,
    "g": 115,
    "b": 238
  },
  "hsl": {
    "h": 231.608,
    "s": 80.791,
    "l": 65.294
  },
  "oklch": {
    "l": 0.60427,
    "c": 0.18491,
    "h": 272.7
  },
  "luminance": 0.20867
}

Semantic roles & 50–950 ramp

primary
#5F73EE
secondary
#ECE6BC
accent
#BF08DD
background
#FAF9FF
surface
#F3F2FE
border
#CDCCD6
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5F73EE

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

Preview Lab → · Contrast checker → · Palette generator →

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