#5F7FED#5F7FED

#5F7FED is a light, vivid blue. Relative luminance 0.237; OKLCH L 62.7% C 0.169 H 268.9°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#5F7FED
RGBrgb(95, 127, 237)
HSLhsl(226, 80%, 65%)
HSVhsv(226, 60%, 93%)
CMYKcmyk(59.9%, 46.4%, 0%, 7.1%)
CIE-LABlab(55.81, 21.53, -59.06)
CIE-LCHlch(55.81, 62.86, 290.03°)
OKLaboklab(62.69% -0.0031 -0.1687)
OKLCHoklch(62.69% 0.169 268.9)
XYZxyz(27.5896, 23.7238, 83.2296)
Luminance0.2373 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7FED #EDCD5F
analogous
#5FC6ED #5F7FED #865FED
triadic
#5F7FED #ED5F7F #7FED5F
tetradic
#5F7FED #ED5FC6 #EDCD5F #5FED86
square
#5F7FED #ED5FC6 #EDCD5F #5FED86
split-complementary
#5F7FED #ED865F #C6ED5F
monochromatic
#153BBC #2853E7 #5F7FED #96ABF3 #CDD7F9

Accessibility & contrast

On white

3.66
#5F7FED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#5F7FED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F7FED
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F7FED#FFFFFF#000000##000000
##5F7FED1.003.665.755.75
#FFFFFF3.661.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#498CF1
Deuteranopia (green-blind)
#3280EB
Tritanopia (blue-blind)
#0098AB
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5f7fed;
/* rgb */ color: rgb(95, 127, 237);
/* oklch */ color: oklch(62.7% 0.169 268.9);
Tailwind
colors: {
  custom: {
    50: '#98a3f3',
    500: '#5f7fed',
    950: '#000000',
  },
}
SCSS
$custom: #5f7fed;
$custom-light: #98a3f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7fed",
  "rgb": {
    "r": 95,
    "g": 127,
    "b": 237
  },
  "hsl": {
    "h": 226.479,
    "s": 79.775,
    "l": 65.098
  },
  "oklch": {
    "l": 0.62687,
    "c": 0.16873,
    "h": 268.9
  },
  "luminance": 0.23726
}

Semantic roles & 50–950 ramp

primary
#5F7FED
secondary
#ECE1BC
accent
#AD09DC
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5F7FED

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

Preview Lab → · Contrast checker → · Palette generator →

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