#5F8DFB#5F8DFB

#5F8DFB is a light, vivid blue. Relative luminance 0.284; OKLCH L 66.4% C 0.171 H 265.0°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#5F8DFB
RGBrgb(95, 141, 251)
HSLhsl(222, 95%, 68%)
HSVhsv(222, 62%, 98%)
CMYKcmyk(62.2%, 43.8%, 0%, 1.6%)
CIE-LABlab(60.29, 17.74, -59.63)
CIE-LCHlch(60.29, 62.21, 286.57°)
OKLaboklab(66.38% -0.0148 -0.1702)
OKLCHoklch(66.38% 0.171 265)
XYZxyz(31.6508, 28.4448, 95.0705)
Luminance0.2845 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8DFB #FBCD5F
analogous
#5FDBFB #5F8DFB #7F5FFB
triadic
#5F8DFB #FB5F8D #8DFB5F
tetradic
#5F8DFB #FB5FDB #FBCD5F #5FFB7F
square
#5F8DFB #FB5FDB #FBCD5F #5FFB7F
split-complementary
#5F8DFB #FB7F5F #DBFB5F
monochromatic
#0544DA #2362FA #5F8DFB #9BB8FC #D6E2FE

Accessibility & contrast

On white

3.14
#5F8DFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#5F8DFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8DFB
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8DFB#FFFFFF#000000##000000
##5F8DFB1.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5999FF
Deuteranopia (green-blind)
#408BF9
Tritanopia (blue-blind)
#00A6B8
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5f8dfb;
/* rgb */ color: rgb(95, 141, 251);
/* oklch */ color: oklch(66.4% 0.171 265.0);
Tailwind
colors: {
  custom: {
    50: '#9aadfd',
    500: '#5f8dfb',
    950: '#000000',
  },
}
SCSS
$custom: #5f8dfb;
$custom-light: #9aadfd;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8dfb",
  "rgb": {
    "r": 95,
    "g": 141,
    "b": 251
  },
  "hsl": {
    "h": 222.308,
    "s": 95.122,
    "l": 67.843
  },
  "oklch": {
    "l": 0.66375,
    "c": 0.17084,
    "h": 265
  },
  "luminance": 0.28448
}

Semantic roles & 50–950 ramp

primary
#5F8DFB
secondary
#F3E5C3
accent
#A200E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F1018
muted
#7F7F86

Preview Lab

Preview with #5F8DFB

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

Preview Lab → · Contrast checker → · Palette generator →

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