#5F8BFE#5F8BFE

#5F8BFE is a light, vivid blue. Relative luminance 0.281; OKLCH L 66.2% C 0.177 H 266.0°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#5F8BFE
RGBrgb(95, 139, 254)
HSLhsl(223, 99%, 68%)
HSVhsv(223, 63%, 100%)
CMYKcmyk(62.6%, 45.3%, 0%, 0.4%)
CIE-LABlab(59.93, 19.93, -61.84)
CIE-LCHlch(59.93, 64.97, 287.87°)
OKLaboklab(66.16% -0.0124 -0.1767)
OKLCHoklch(66.16% 0.177 266)
XYZxyz(31.8352, 28.0510, 97.4834)
Luminance0.2805 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8BFE #FED25F
analogous
#5FDBFE #5F8BFE #825FFE
triadic
#5F8BFE #FE5F8B #8BFE5F
tetradic
#5F8BFE #FE5FDB #FED25F #5FFE82
square
#5F8BFE #FE5FDB #FED25F #5FFE82
split-complementary
#5F8BFE #FE825F #DBFE5F
monochromatic
#013FE1 #225FFE #5F8BFE #9CB7FE #D9E3FF

Accessibility & contrast

On white

3.18
#5F8BFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#5F8BFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8BFE
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8BFE#FFFFFF#000000##000000
##5F8BFE1.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5398FF
Deuteranopia (green-blind)
#378AFC
Tritanopia (blue-blind)
#00A5B8
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5f8bfe;
/* rgb */ color: rgb(95, 139, 254);
/* oklch */ color: oklch(66.2% 0.177 266.0);
Tailwind
colors: {
  custom: {
    50: '#9aacff',
    500: '#5f8bfe',
    950: '#000000',
  },
}
SCSS
$custom: #5f8bfe;
$custom-light: #9aacff;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8bfe",
  "rgb": {
    "r": 95,
    "g": 139,
    "b": 254
  },
  "hsl": {
    "h": 223.396,
    "s": 98.758,
    "l": 68.431
  },
  "oklch": {
    "l": 0.66159,
    "c": 0.17717,
    "h": 266
  },
  "luminance": 0.28054
}

Semantic roles & 50–950 ramp

primary
#5F8BFE
secondary
#F4E7C4
accent
#A600E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F1018
muted
#7F7F86

Preview Lab

Preview with #5F8BFE

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

Preview Lab → · Contrast checker → · Palette generator →

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