#5F72EE#5F72EE

#5F72EE is a mid, vivid blue. Relative luminance 0.206; OKLCH L 60.2% C 0.186 H 273.0°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#5F72EE
RGBrgb(95, 114, 238)
HSLhsl(232, 81%, 65%)
HSVhsv(232, 60%, 93%)
CMYKcmyk(60.1%, 52.1%, 0%, 6.7%)
CIE-LABlab(52.55, 29.78, -64.86)
CIE-LCHlch(52.55, 71.36, 294.66°)
OKLaboklab(60.24% 0.0097 -0.1859)
OKLCHoklch(60.24% 0.186 273)
XYZxyz(26.1641, 20.6385, 83.4772)
Luminance0.2064 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F72EE #EEDB5F
analogous
#5FB9EE #5F72EE #935FEE
triadic
#5F72EE #EE5F72 #72EE5F
tetradic
#5F72EE #EE5FB9 #EEDB5F #5FEE93
square
#5F72EE #EE5FB9 #EEDB5F #5FEE93
split-complementary
#5F72EE #EE935F #B9EE5F
monochromatic
#142BBE #2841E8 #5F72EE #96A3F4 #CED4FA

Accessibility & contrast

On white

4.10
#5F72EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#5F72EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F72EE
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F72EE#FFFFFF#000000##000000
##5F72EE1.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2684F2
Deuteranopia (green-blind)
#0077EB
Tritanopia (blue-blind)
#008FA5
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5f72ee;
/* rgb */ color: rgb(95, 114, 238);
/* oklch */ color: oklch(60.2% 0.186 273.0);
Tailwind
colors: {
  custom: {
    50: '#999af4',
    500: '#5f72ee',
    950: '#000000',
  },
}
SCSS
$custom: #5f72ee;
$custom-light: #999af4;
$custom-dark: #000000;
JSON
{
  "hex": "#5f72ee",
  "rgb": {
    "r": 95,
    "g": 114,
    "b": 238
  },
  "hsl": {
    "h": 232.028,
    "s": 80.791,
    "l": 65.294
  },
  "oklch": {
    "l": 0.60238,
    "c": 0.18616,
    "h": 273
  },
  "luminance": 0.20641
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5F72EE

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

Preview Lab → · Contrast checker → · Palette generator →

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