#5F7EEF#5F7EEF

#5F7EEF is a light, vivid blue. Relative luminance 0.236; OKLCH L 62.6% C 0.173 H 269.4°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#5F7EEF
RGBrgb(95, 126, 239)
HSLhsl(227, 82%, 65%)
HSVhsv(227, 60%, 94%)
CMYKcmyk(60.3%, 47.3%, 0%, 6.3%)
CIE-LABlab(55.67, 22.80, -60.40)
CIE-LCHlch(55.67, 64.56, 290.68°)
OKLaboklab(62.62% -0.0019 -0.1726)
OKLCHoklch(62.62% 0.173 269.4)
XYZxyz(27.7549, 23.5843, 84.7342)
Luminance0.2359 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7EEF #EFD05F
analogous
#5FC6EF #5F7EEF #885FEF
triadic
#5F7EEF #EF5F7E #7EEF5F
tetradic
#5F7EEF #EF5FC6 #EFD05F #5FEF88
square
#5F7EEF #EF5FC6 #EFD05F #5FEF88
split-complementary
#5F7EEF #EF885F #C6EF5F
monochromatic
#1339C0 #2751E9 #5F7EEF #97ABF5 #CED8FA

Accessibility & contrast

On white

3.67
#5F7EEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#5F7EEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F7EEF
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F7EEF#FFFFFF#000000##000000
##5F7EEF1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#458CF3
Deuteranopia (green-blind)
#2C7FED
Tritanopia (blue-blind)
#0098AB
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5f7eef;
/* rgb */ color: rgb(95, 126, 239);
/* oklch */ color: oklch(62.6% 0.173 269.4);
Tailwind
colors: {
  custom: {
    50: '#98a3f5',
    500: '#5f7eef',
    950: '#000000',
  },
}
SCSS
$custom: #5f7eef;
$custom-light: #98a3f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7eef",
  "rgb": {
    "r": 95,
    "g": 126,
    "b": 239
  },
  "hsl": {
    "h": 227.083,
    "s": 81.818,
    "l": 65.49
  },
  "oklch": {
    "l": 0.62618,
    "c": 0.17266,
    "h": 269.4
  },
  "luminance": 0.23587
}

Semantic roles & 50–950 ramp

primary
#5F7EEF
secondary
#EDE3BD
accent
#B007DE
background
#FAF9FF
surface
#F3F2FE
border
#CDCCD6
text
#0F0F17
muted
#7F7E85

Preview Lab

Preview with #5F7EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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