#5F8EEB#5F8EEB

#5F8EEB is a light, vivid blue. Relative luminance 0.278; OKLCH L 65.6% C 0.148 H 262.7°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#5F8EEB
RGBrgb(95, 142, 235)
HSLhsl(220, 78%, 65%)
HSVhsv(220, 60%, 92%)
CMYKcmyk(59.6%, 39.6%, 0%, 7.8%)
CIE-LABlab(59.68, 11.85, -51.76)
CIE-LCHlch(59.68, 53.10, 282.90°)
OKLaboklab(65.63% -0.0187 -0.1471)
OKLCHoklch(65.63% 0.148 262.7)
XYZxyz(29.3825, 27.7745, 82.3938)
Luminance0.2778 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8EEB #EBBC5F
analogous
#5FD4EB #5F8EEB #765FEB
triadic
#5F8EEB #EB5F8E #8EEB5F
tetradic
#5F8EEB #EB5FD4 #EBBC5F #5FEB76
square
#5F8EEB #EB5FD4 #EBBC5F #5FEB76
split-complementary
#5F8EEB #EB765F #D4EB5F
monochromatic
#174DB9 #2968E4 #5F8EEB #95B4F2 #CCDBF9

Accessibility & contrast

On white

3.20
#5F8EEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#5F8EEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8EEB
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8EEB#FFFFFF#000000##000000
##5F8EEB1.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6697EF
Deuteranopia (green-blind)
#538AE9
Tritanopia (blue-blind)
#00A3B1
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5f8eeb;
/* rgb */ color: rgb(95, 142, 235);
/* oklch */ color: oklch(65.6% 0.148 262.7);
Tailwind
colors: {
  custom: {
    50: '#97aef2',
    500: '#5f8eeb',
    950: '#000000',
  },
}
SCSS
$custom: #5f8eeb;
$custom-light: #97aef2;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8eeb",
  "rgb": {
    "r": 95,
    "g": 142,
    "b": 235
  },
  "hsl": {
    "h": 219.857,
    "s": 77.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.65627,
    "c": 0.1483,
    "h": 262.7
  },
  "luminance": 0.27777
}

Semantic roles & 50–950 ramp

primary
#5F8EEB
secondary
#EBDBBB
accent
#950BDA
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0F1017
muted
#7E7F85

Preview Lab

Preview with #5F8EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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