#5F8EFB#5F8EFB

#5F8EFB is a light, vivid blue. Relative luminance 0.287; OKLCH L 66.6% C 0.170 H 264.7°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#5F8EFB
RGBrgb(95, 142, 251)
HSLhsl(222, 95%, 68%)
HSVhsv(222, 62%, 98%)
CMYKcmyk(62.2%, 43.4%, 0%, 1.6%)
CIE-LABlab(60.55, 17.14, -59.20)
CIE-LCHlch(60.55, 61.63, 286.14°)
OKLaboklab(66.58% -0.0158 -0.1689)
OKLCHoklch(66.58% 0.17 264.7)
XYZxyz(31.7989, 28.7411, 95.1199)
Luminance0.2874 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8EFB #FBCC5F
analogous
#5FDCFB #5F8EFB #7E5FFB
triadic
#5F8EFB #FB5F8E #8EFB5F
tetradic
#5F8EFB #FB5FDC #FBCC5F #5FFB7E
square
#5F8EFB #FB5FDC #FBCC5F #5FFB7E
split-complementary
#5F8EFB #FB7E5F #DCFB5F
monochromatic
#0546DA #2364FA #5F8EFB #9BB8FC #D6E2FE

Accessibility & contrast

On white

3.11
#5F8EFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#5F8EFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8EFB
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8EFB#FFFFFF#000000##000000
##5F8EFB1.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B9AFF
Deuteranopia (green-blind)
#428BF9
Tritanopia (blue-blind)
#00A7B8
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #5f8efb;
/* rgb */ color: rgb(95, 142, 251);
/* oklch */ color: oklch(66.6% 0.170 264.7);
Tailwind
colors: {
  custom: {
    50: '#9aaefd',
    500: '#5f8efb',
    950: '#000000',
  },
}
SCSS
$custom: #5f8efb;
$custom-light: #9aaefd;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8efb",
  "rgb": {
    "r": 95,
    "g": 142,
    "b": 251
  },
  "hsl": {
    "h": 221.923,
    "s": 95.122,
    "l": 67.843
  },
  "oklch": {
    "l": 0.66578,
    "c": 0.16968,
    "h": 264.7
  },
  "luminance": 0.28744
}

Semantic roles & 50–950 ramp

primary
#5F8EFB
secondary
#F3E4C3
accent
#A000E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F1018
muted
#7F7F86

Preview Lab

Preview with #5F8EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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