#5F8DF3#5F8DF3

#5F8DF3 is a light, vivid blue. Relative luminance 0.280; OKLCH L 65.9% C 0.160 H 264.2°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#5F8DF3
RGBrgb(95, 141, 243)
HSLhsl(221, 86%, 66%)
HSVhsv(221, 61%, 95%)
CMYKcmyk(60.9%, 42%, 0%, 4.7%)
CIE-LABlab(59.84, 15.08, -55.93)
CIE-LCHlch(59.84, 57.93, 285.09°)
OKLaboklab(65.89% -0.0162 -0.1593)
OKLCHoklch(65.89% 0.16 264.2)
XYZxyz(30.4163, 27.9510, 88.5688)
Luminance0.2795 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8DF3 #F3C55F
analogous
#5FD7F3 #5F8DF3 #7B5FF3
triadic
#5F8DF3 #F35F8D #8DF35F
tetradic
#5F8DF3 #F35FD7 #F3C55F #5FF37B
square
#5F8DF3 #F35FD7 #F3C55F #5FF37B
split-complementary
#5F8DF3 #F37B5F #D7F35F
monochromatic
#0F49C9 #2664EF #5F8DF3 #98B6F7 #D1DEFC

Accessibility & contrast

On white

3.19
#5F8DF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#5F8DF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8DF3
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8DF3#FFFFFF#000000##000000
##5F8DF31.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F97F7
Deuteranopia (green-blind)
#498AF1
Tritanopia (blue-blind)
#00A4B4
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5f8df3;
/* rgb */ color: rgb(95, 141, 243);
/* oklch */ color: oklch(65.9% 0.160 264.2);
Tailwind
colors: {
  custom: {
    50: '#98adf7',
    500: '#5f8df3',
    950: '#000000',
  },
}
SCSS
$custom: #5f8df3;
$custom-light: #98adf7;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8df3",
  "rgb": {
    "r": 95,
    "g": 141,
    "b": 243
  },
  "hsl": {
    "h": 221.351,
    "s": 86.047,
    "l": 66.275
  },
  "oklch": {
    "l": 0.6589,
    "c": 0.16017,
    "h": 264.2
  },
  "luminance": 0.27954
}

Semantic roles & 50–950 ramp

primary
#5F8DF3
secondary
#EFE0BF
accent
#9D03E3
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #5F8DF3

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

Preview Lab → · Contrast checker → · Palette generator →

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