#5F8FFB#5F8FFB

#5F8FFB is a light, vivid blue. Relative luminance 0.290; OKLCH L 66.8% C 0.169 H 264.3°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#5F8FFB
RGBrgb(95, 143, 251)
HSLhsl(222, 95%, 68%)
HSVhsv(222, 62%, 98%)
CMYKcmyk(62.2%, 43%, 0%, 1.6%)
CIE-LABlab(60.82, 16.54, -58.78)
CIE-LCHlch(60.82, 61.06, 285.72°)
OKLaboklab(66.78% -0.0167 -0.1677)
OKLCHoklch(66.78% 0.169 264.3)
XYZxyz(31.9483, 29.0400, 95.1697)
Luminance0.2904 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8FFB #FBCB5F
analogous
#5FDDFB #5F8FFB #7D5FFB
triadic
#5F8FFB #FB5F8F #8FFB5F
tetradic
#5F8FFB #FB5FDD #FBCB5F #5FFB7D
square
#5F8FFB #FB5FDD #FBCB5F #5FFB7D
split-complementary
#5F8FFB #FB7D5F #DDFB5F
monochromatic
#0547DA #2365FA #5F8FFB #9BB9FC #D6E3FE

Accessibility & contrast

On white

3.08
#5F8FFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#5F8FFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8FFB
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8FFB#FFFFFF#000000##000000
##5F8FFB1.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D9AFF
Deuteranopia (green-blind)
#448CF9
Tritanopia (blue-blind)
#00A8B9
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #5f8ffb;
/* rgb */ color: rgb(95, 143, 251);
/* oklch */ color: oklch(66.8% 0.169 264.3);
Tailwind
colors: {
  custom: {
    50: '#9aaffd',
    500: '#5f8ffb',
    950: '#000000',
  },
}
SCSS
$custom: #5f8ffb;
$custom-light: #9aaffd;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8ffb",
  "rgb": {
    "r": 95,
    "g": 143,
    "b": 251
  },
  "hsl": {
    "h": 221.538,
    "s": 95.122,
    "l": 67.843
  },
  "oklch": {
    "l": 0.66781,
    "c": 0.16852,
    "h": 264.3
  },
  "luminance": 0.29043
}

Semantic roles & 50–950 ramp

primary
#5F8FFB
secondary
#F3E4C3
accent
#9F00E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F1018
muted
#7F7F86

Preview Lab

Preview with #5F8FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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