#5F76EE#5F76EE

#5F76EE is a mid, vivid blue. Relative luminance 0.216; OKLCH L 61.0% C 0.181 H 271.8°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#5F76EE
RGBrgb(95, 118, 238)
HSLhsl(230, 81%, 65%)
HSVhsv(230, 60%, 93%)
CMYKcmyk(60.1%, 50.4%, 0%, 6.7%)
CIE-LABlab(53.56, 27.34, -63.23)
CIE-LCHlch(53.56, 68.89, 293.38°)
OKLaboklab(61% 0.0058 -0.1811)
OKLCHoklch(61% 0.181 271.8)
XYZxyz(26.6252, 21.5606, 83.6309)
Luminance0.2156 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F76EE #EED75F
analogous
#5FBDEE #5F76EE #905FEE
triadic
#5F76EE #EE5F76 #76EE5F
tetradic
#5F76EE #EE5FBD #EED75F #5FEE90
square
#5F76EE #EE5FBD #EED75F #5FEE90
split-complementary
#5F76EE #EE905F #BDEE5F
monochromatic
#1430BE #2847E8 #5F76EE #96A5F4 #CED5FA

Accessibility & contrast

On white

3.95
#5F76EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#5F76EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F76EE
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F76EE#FFFFFF#000000##000000
##5F76EE1.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3387F2
Deuteranopia (green-blind)
#0A7AEC
Tritanopia (blue-blind)
#0092A7
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5f76ee;
/* rgb */ color: rgb(95, 118, 238);
/* oklch */ color: oklch(61.0% 0.181 271.8);
Tailwind
colors: {
  custom: {
    50: '#989df4',
    500: '#5f76ee',
    950: '#000000',
  },
}
SCSS
$custom: #5f76ee;
$custom-light: #989df4;
$custom-dark: #000000;
JSON
{
  "hex": "#5f76ee",
  "rgb": {
    "r": 95,
    "g": 118,
    "b": 238
  },
  "hsl": {
    "h": 230.35,
    "s": 80.791,
    "l": 65.294
  },
  "oklch": {
    "l": 0.60997,
    "c": 0.18118,
    "h": 271.8
  },
  "luminance": 0.21563
}

Semantic roles & 50–950 ramp

primary
#5F76EE
secondary
#ECE5BC
accent
#BB08DD
background
#FAF9FF
surface
#F3F2FE
border
#CDCCD6
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5F76EE

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

Preview Lab → · Contrast checker → · Palette generator →

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