#5F8FEB#5F8FEB

#5F8FEB is a light, vivid blue. Relative luminance 0.281; OKLCH L 65.8% C 0.147 H 262.3°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#5F8FEB
RGBrgb(95, 143, 235)
HSLhsl(219, 78%, 65%)
HSVhsv(219, 60%, 92%)
CMYKcmyk(59.6%, 39.1%, 0%, 7.8%)
CIE-LABlab(59.95, 11.26, -51.33)
CIE-LCHlch(59.95, 52.55, 282.37°)
OKLaboklab(65.84% -0.0198 -0.1458)
OKLCHoklch(65.84% 0.147 262.3)
XYZxyz(29.5320, 28.0734, 82.4436)
Luminance0.2808 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8FEB #EBBB5F
analogous
#5FD5EB #5F8FEB #755FEB
triadic
#5F8FEB #EB5F8F #8FEB5F
tetradic
#5F8FEB #EB5FD5 #EBBB5F #5FEB75
square
#5F8FEB #EB5FD5 #EBBB5F #5FEB75
split-complementary
#5F8FEB #EB755F #D5EB5F
monochromatic
#174EB9 #2969E4 #5F8FEB #95B5F2 #CCDBF9

Accessibility & contrast

On white

3.17
#5F8FEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#5F8FEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8FEB
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8FEB#FFFFFF#000000##000000
##5F8FEB1.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6797EF
Deuteranopia (green-blind)
#548AE9
Tritanopia (blue-blind)
#00A4B2
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5f8feb;
/* rgb */ color: rgb(95, 143, 235);
/* oklch */ color: oklch(65.8% 0.147 262.3);
Tailwind
colors: {
  custom: {
    50: '#97aff2',
    500: '#5f8feb',
    950: '#000000',
  },
}
SCSS
$custom: #5f8feb;
$custom-light: #97aff2;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8feb",
  "rgb": {
    "r": 95,
    "g": 143,
    "b": 235
  },
  "hsl": {
    "h": 219.429,
    "s": 77.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.65836,
    "c": 0.14718,
    "h": 262.3
  },
  "luminance": 0.28076
}

Semantic roles & 50–950 ramp

primary
#5F8FEB
secondary
#EBDABB
accent
#930BDA
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0F1017
muted
#7E7F85

Preview Lab

Preview with #5F8FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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