#5F8DEE#5F8DEE

#5F8DEE is a light, vivid blue. Relative luminance 0.277; OKLCH L 65.6% C 0.153 H 263.6°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#5F8DEE
RGBrgb(95, 141, 238)
HSLhsl(221, 81%, 65%)
HSVhsv(221, 60%, 93%)
CMYKcmyk(60.1%, 40.8%, 0%, 6.7%)
CIE-LABlab(59.57, 13.44, -53.60)
CIE-LCHlch(59.57, 55.26, 284.07°)
OKLaboklab(65.59% -0.0171 -0.1525)
OKLCHoklch(65.59% 0.153 263.6)
XYZxyz(29.6715, 27.6531, 84.6463)
Luminance0.2766 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8DEE #EEC05F
analogous
#5FD5EE #5F8DEE #785FEE
triadic
#5F8DEE #EE5F8D #8DEE5F
tetradic
#5F8DEE #EE5FD5 #EEC05F #5FEE78
square
#5F8DEE #EE5FD5 #EEC05F #5FEE78
split-complementary
#5F8DEE #EE785F #D5EE5F
monochromatic
#144BBE #2866E8 #5F8DEE #96B4F4 #CEDCFA

Accessibility & contrast

On white

3.22
#5F8DEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#5F8DEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8DEE
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8DEE#FFFFFF#000000##000000
##5F8DEE1.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6297F2
Deuteranopia (green-blind)
#4E89EC
Tritanopia (blue-blind)
#00A3B2
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5f8dee;
/* rgb */ color: rgb(95, 141, 238);
/* oklch */ color: oklch(65.6% 0.153 263.6);
Tailwind
colors: {
  custom: {
    50: '#98adf4',
    500: '#5f8dee',
    950: '#000000',
  },
}
SCSS
$custom: #5f8dee;
$custom-light: #98adf4;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8dee",
  "rgb": {
    "r": 95,
    "g": 141,
    "b": 238
  },
  "hsl": {
    "h": 220.699,
    "s": 80.791,
    "l": 65.294
  },
  "oklch": {
    "l": 0.65593,
    "c": 0.15347,
    "h": 263.6
  },
  "luminance": 0.27656
}

Semantic roles & 50–950 ramp

primary
#5F8DEE
secondary
#ECDDBC
accent
#9908DD
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0F1017
muted
#7E7F85

Preview Lab

Preview with #5F8DEE

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

Preview Lab → · Contrast checker → · Palette generator →

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