#5F7EEB#5F7EEB

#5F7EEB is a light, vivid blue. Relative luminance 0.234; OKLCH L 62.4% C 0.167 H 269.2°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#5F7EEB
RGBrgb(95, 126, 235)
HSLhsl(227, 78%, 65%)
HSVhsv(227, 60%, 92%)
CMYKcmyk(59.6%, 46.4%, 0%, 7.8%)
CIE-LABlab(55.43, 21.48, -58.55)
CIE-LCHlch(55.43, 62.37, 290.15°)
OKLaboklab(62.36% -0.0024 -0.1672)
OKLCHoklch(62.36% 0.167 269.2)
XYZxyz(27.1705, 23.3505, 81.6564)
Luminance0.2335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7EEB #EBCC5F
analogous
#5FC4EB #5F7EEB #865FEB
triadic
#5F7EEB #EB5F7E #7EEB5F
tetradic
#5F7EEB #EB5FC4 #EBCC5F #5FEB86
square
#5F7EEB #EB5FC4 #EBCC5F #5FEB86
split-complementary
#5F7EEB #EB865F #C4EB5F
monochromatic
#173BB9 #2952E4 #5F7EEB #95AAF2 #CCD6F9

Accessibility & contrast

On white

3.70
#5F7EEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#5F7EEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F7EEB
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F7EEB#FFFFFF#000000##000000
##5F7EEB1.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#498BEF
Deuteranopia (green-blind)
#327FE9
Tritanopia (blue-blind)
#0097A9
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5f7eeb;
/* rgb */ color: rgb(95, 126, 235);
/* oklch */ color: oklch(62.4% 0.167 269.2);
Tailwind
colors: {
  custom: {
    50: '#98a3f2',
    500: '#5f7eeb',
    950: '#000000',
  },
}
SCSS
$custom: #5f7eeb;
$custom-light: #98a3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7eeb",
  "rgb": {
    "r": 95,
    "g": 126,
    "b": 235
  },
  "hsl": {
    "h": 226.714,
    "s": 77.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.62361,
    "c": 0.16724,
    "h": 269.2
  },
  "luminance": 0.23353
}

Semantic roles & 50–950 ramp

primary
#5F7EEB
secondary
#EBE0BB
accent
#AC0BDA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0F17
muted
#7E7E85

Preview Lab

Preview with #5F7EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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