#5F8BF4#5F8BF4

#5F8BF4 is a light, vivid blue. Relative luminance 0.274; OKLCH L 65.5% C 0.164 H 265.1°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#5F8BF4
RGBrgb(95, 139, 244)
HSLhsl(222, 87%, 66%)
HSVhsv(222, 61%, 96%)
CMYKcmyk(61.1%, 43%, 0%, 4.3%)
CIE-LABlab(59.37, 16.61, -57.24)
CIE-LCHlch(59.37, 59.60, 286.18°)
OKLaboklab(65.54% -0.014 -0.1632)
OKLCHoklch(65.54% 0.164 265.1)
XYZxyz(30.2754, 27.4271, 89.2689)
Luminance0.2743 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8BF4 #F4C85F
analogous
#5FD6F4 #5F8BF4 #7E5FF4
triadic
#5F8BF4 #F45F8B #8BF45F
tetradic
#5F8BF4 #F45FD6 #F4C85F #5FF47E
square
#5F8BF4 #F45FD6 #F4C85F #5FF47E
split-complementary
#5F8BF4 #F47E5F #D6F45F
monochromatic
#0E46CB #2661F0 #5F8BF4 #98B5F8 #D2DEFC

Accessibility & contrast

On white

3.24
#5F8BF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#5F8BF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8BF4
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8BF4#FFFFFF#000000##000000
##5F8BF41.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B96F8
Deuteranopia (green-blind)
#4489F2
Tritanopia (blue-blind)
#00A3B4
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5f8bf4;
/* rgb */ color: rgb(95, 139, 244);
/* oklch */ color: oklch(65.5% 0.164 265.1);
Tailwind
colors: {
  custom: {
    50: '#99acf8',
    500: '#5f8bf4',
    950: '#000000',
  },
}
SCSS
$custom: #5f8bf4;
$custom-light: #99acf8;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8bf4",
  "rgb": {
    "r": 95,
    "g": 139,
    "b": 244
  },
  "hsl": {
    "h": 222.282,
    "s": 87.135,
    "l": 66.471
  },
  "oklch": {
    "l": 0.65541,
    "c": 0.16382,
    "h": 265.1
  },
  "luminance": 0.2743
}

Semantic roles & 50–950 ramp

primary
#5F8BF4
secondary
#F0E1BF
accent
#A102E4
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #5F8BF4

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

Preview Lab → · Contrast checker → · Palette generator →

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