#5F8DF1#5F8DF1

#5F8DF1 is a light, vivid blue. Relative luminance 0.278; OKLCH L 65.8% C 0.157 H 264.0°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#5F8DF1
RGBrgb(95, 141, 241)
HSLhsl(221, 84%, 66%)
HSVhsv(221, 61%, 95%)
CMYKcmyk(60.6%, 41.5%, 0%, 5.5%)
CIE-LABlab(59.74, 14.42, -55.00)
CIE-LCHlch(59.74, 56.86, 284.69°)
OKLaboklab(65.77% -0.0165 -0.1566)
OKLCHoklch(65.77% 0.157 264)
XYZxyz(30.1159, 27.8309, 86.9869)
Luminance0.2783 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8DF1 #F1C35F
analogous
#5FD6F1 #5F8DF1 #7A5FF1
triadic
#5F8DF1 #F15F8D #8DF15F
tetradic
#5F8DF1 #F15FD6 #F1C35F #5FF17A
square
#5F8DF1 #F15FD6 #F1C35F #5FF17A
split-complementary
#5F8DF1 #F17A5F #D6F15F
monochromatic
#114AC4 #2765EC #5F8DF1 #97B5F6 #D0DDFB

Accessibility & contrast

On white

3.20
#5F8DF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#5F8DF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8DF1
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8DF1#FFFFFF#000000##000000
##5F8DF11.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6097F5
Deuteranopia (green-blind)
#4B8AEF
Tritanopia (blue-blind)
#00A4B3
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5f8df1;
/* rgb */ color: rgb(95, 141, 241);
/* oklch */ color: oklch(65.8% 0.157 264.0);
Tailwind
colors: {
  custom: {
    50: '#98adf6',
    500: '#5f8df1',
    950: '#000000',
  },
}
SCSS
$custom: #5f8df1;
$custom-light: #98adf6;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8df1",
  "rgb": {
    "r": 95,
    "g": 141,
    "b": 241
  },
  "hsl": {
    "h": 221.096,
    "s": 83.908,
    "l": 65.882
  },
  "oklch": {
    "l": 0.6577,
    "c": 0.15749,
    "h": 264
  },
  "luminance": 0.27834
}

Semantic roles & 50–950 ramp

primary
#5F8DF1
secondary
#EEDFBE
accent
#9B05E0
background
#FAFAFF
surface
#F3F4FE
border
#CDCED6
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #5F8DF1

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

Preview Lab → · Contrast checker → · Palette generator →

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