#5F8EF2#5F8EF2

#5F8EF2 is a light, vivid blue. Relative luminance 0.282; OKLCH L 66.0% C 0.158 H 263.7°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#5F8EF2
RGBrgb(95, 142, 242)
HSLhsl(221, 85%, 66%)
HSVhsv(221, 61%, 95%)
CMYKcmyk(60.7%, 41.3%, 0%, 5.1%)
CIE-LABlab(60.06, 14.16, -55.04)
CIE-LCHlch(60.06, 56.83, 284.43°)
OKLaboklab(66.04% -0.0174 -0.1567)
OKLCHoklch(66.04% 0.158 263.7)
XYZxyz(30.4138, 28.1870, 87.8251)
Luminance0.2819 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8EF2 #F2C35F
analogous
#5FD8F2 #5F8EF2 #795FF2
triadic
#5F8EF2 #F25F8E #8EF25F
tetradic
#5F8EF2 #F25FD8 #F2C35F #5FF279
square
#5F8EF2 #F25FD8 #F2C35F #5FF279
split-complementary
#5F8EF2 #F2795F #D8F25F
monochromatic
#104AC6 #2666ED #5F8EF2 #98B6F7 #D0DEFB

Accessibility & contrast

On white

3.16
#5F8EF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#5F8EF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8EF2
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8EF2#FFFFFF#000000##000000
##5F8EF21.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6198F6
Deuteranopia (green-blind)
#4C8AF0
Tritanopia (blue-blind)
#00A5B4
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5f8ef2;
/* rgb */ color: rgb(95, 142, 242);
/* oklch */ color: oklch(66.0% 0.158 263.7);
Tailwind
colors: {
  custom: {
    50: '#98aef7',
    500: '#5f8ef2',
    950: '#000000',
  },
}
SCSS
$custom: #5f8ef2;
$custom-light: #98aef7;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8ef2",
  "rgb": {
    "r": 95,
    "g": 142,
    "b": 242
  },
  "hsl": {
    "h": 220.816,
    "s": 84.971,
    "l": 66.078
  },
  "oklch": {
    "l": 0.66036,
    "c": 0.15768,
    "h": 263.7
  },
  "luminance": 0.2819
}

Semantic roles & 50–950 ramp

primary
#5F8EF2
secondary
#EFDFBE
accent
#9B04E1
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #5F8EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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