#5F8EF1#5F8EF1

#5F8EF1 is a light, vivid blue. Relative luminance 0.281; OKLCH L 66.0% C 0.156 H 263.6°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#5F8EF1
RGBrgb(95, 142, 241)
HSLhsl(221, 84%, 66%)
HSVhsv(221, 61%, 95%)
CMYKcmyk(60.6%, 41.1%, 0%, 5.5%)
CIE-LABlab(60.00, 13.83, -54.57)
CIE-LCHlch(60.00, 56.30, 284.22°)
OKLaboklab(65.98% -0.0176 -0.1553)
OKLCHoklch(65.98% 0.156 263.6)
XYZxyz(30.2640, 28.1271, 87.0362)
Luminance0.2813 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8EF1 #F1C25F
analogous
#5FD7F1 #5F8EF1 #795FF1
triadic
#5F8EF1 #F15F8E #8EF15F
tetradic
#5F8EF1 #F15FD7 #F1C25F #5FF179
square
#5F8EF1 #F15FD7 #F1C25F #5FF179
split-complementary
#5F8EF1 #F1795F #D7F15F
monochromatic
#114BC4 #2766EC #5F8EF1 #97B6F6 #D0DDFB

Accessibility & contrast

On white

3.17
#5F8EF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#5F8EF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8EF1
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8EF1#FFFFFF#000000##000000
##5F8EF11.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6298F5
Deuteranopia (green-blind)
#4D8AEF
Tritanopia (blue-blind)
#00A4B4
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5f8ef1;
/* rgb */ color: rgb(95, 142, 241);
/* oklch */ color: oklch(66.0% 0.156 263.6);
Tailwind
colors: {
  custom: {
    50: '#98aef6',
    500: '#5f8ef1',
    950: '#000000',
  },
}
SCSS
$custom: #5f8ef1;
$custom-light: #98aef6;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8ef1",
  "rgb": {
    "r": 95,
    "g": 142,
    "b": 241
  },
  "hsl": {
    "h": 220.685,
    "s": 83.908,
    "l": 65.882
  },
  "oklch": {
    "l": 0.65977,
    "c": 0.15634,
    "h": 263.6
  },
  "luminance": 0.2813
}

Semantic roles & 50–950 ramp

primary
#5F8EF1
secondary
#EEDEBE
accent
#9A05E0
background
#FAFAFF
surface
#F3F4FE
border
#CDCED6
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #5F8EF1

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

Preview Lab → · Contrast checker → · Palette generator →

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