#5F7FEE#5F7FEE

#5F7FEE is a light, vivid blue. Relative luminance 0.238; OKLCH L 62.8% C 0.170 H 269.0°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#5F7FEE
RGBrgb(95, 127, 238)
HSLhsl(227, 81%, 65%)
HSVhsv(227, 60%, 93%)
CMYKcmyk(60.1%, 46.6%, 0%, 6.7%)
CIE-LABlab(55.87, 21.86, -59.52)
CIE-LCHlch(55.87, 63.41, 290.17°)
OKLaboklab(62.75% -0.003 -0.17)
OKLCHoklch(62.75% 0.17 269)
XYZxyz(27.7361, 23.7824, 84.0012)
Luminance0.2379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7FEE #EECE5F
analogous
#5FC7EE #5F7FEE #865FEE
triadic
#5F7FEE #EE5F7F #7FEE5F
tetradic
#5F7FEE #EE5FC7 #EECE5F #5FEE86
square
#5F7FEE #EE5FC7 #EECE5F #5FEE86
split-complementary
#5F7FEE #EE865F #C7EE5F
monochromatic
#143ABE #2853E8 #5F7FEE #96ABF4 #CED8FA

Accessibility & contrast

On white

3.65
#5F7FEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#5F7FEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F7FEE
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F7FEE#FFFFFF#000000##000000
##5F7FEE1.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#488DF2
Deuteranopia (green-blind)
#3080EC
Tritanopia (blue-blind)
#0098AB
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5f7fee;
/* rgb */ color: rgb(95, 127, 238);
/* oklch */ color: oklch(62.8% 0.170 269.0);
Tailwind
colors: {
  custom: {
    50: '#98a3f4',
    500: '#5f7fee',
    950: '#000000',
  },
}
SCSS
$custom: #5f7fee;
$custom-light: #98a3f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7fee",
  "rgb": {
    "r": 95,
    "g": 127,
    "b": 238
  },
  "hsl": {
    "h": 226.573,
    "s": 80.791,
    "l": 65.294
  },
  "oklch": {
    "l": 0.62751,
    "c": 0.17008,
    "h": 269
  },
  "luminance": 0.23785
}

Semantic roles & 50–950 ramp

primary
#5F7FEE
secondary
#ECE2BC
accent
#AE08DD
background
#FAFAFF
surface
#F3F3FE
border
#CDCDD6
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #5F7FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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