#5F8FED#5F8FED

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

Color values

HEX#5F8FED
RGBrgb(95, 143, 237)
HSLhsl(220, 80%, 65%)
HSVhsv(220, 60%, 93%)
CMYKcmyk(59.9%, 39.7%, 0%, 7.1%)
CIE-LABlab(60.06, 11.92, -52.27)
CIE-LCHlch(60.06, 53.61, 282.84°)
OKLaboklab(65.95% -0.0194 -0.1486)
OKLCHoklch(65.95% 0.15 262.6)
XYZxyz(29.8225, 28.1896, 83.9739)
Luminance0.2819 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8FED #EDBD5F
analogous
#5FD6ED #5F8FED #765FED
triadic
#5F8FED #ED5F8F #8FED5F
tetradic
#5F8FED #ED5FD6 #EDBD5F #5FED76
square
#5F8FED #ED5FD6 #EDBD5F #5FED76
split-complementary
#5F8FED #ED765F #D6ED5F
monochromatic
#154EBC #2868E7 #5F8FED #96B6F3 #CDDCF9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F8FED#FFFFFF#000000##000000
##5F8FED1.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)
#6698F1
Deuteranopia (green-blind)
#528BEB
Tritanopia (blue-blind)
#00A4B2
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5f8fed;
/* rgb */ color: rgb(95, 143, 237);
/* oklch */ color: oklch(66.0% 0.150 262.6);
Tailwind
colors: {
  custom: {
    50: '#97aff3',
    500: '#5f8fed',
    950: '#000000',
  },
}
SCSS
$custom: #5f8fed;
$custom-light: #97aff3;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8fed",
  "rgb": {
    "r": 95,
    "g": 143,
    "b": 237
  },
  "hsl": {
    "h": 219.718,
    "s": 79.775,
    "l": 65.098
  },
  "oklch": {
    "l": 0.65951,
    "c": 0.14986,
    "h": 262.6
  },
  "luminance": 0.28192
}

Semantic roles & 50–950 ramp

primary
#5F8FED
secondary
#ECDCBC
accent
#9509DC
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0F1017
muted
#7E7F85

Preview Lab

Preview with #5F8FED

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

Preview Lab → · Contrast checker → · Palette generator →

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