#5799FB#5799FB

#5799FB is a light, vivid blue. Relative luminance 0.318; OKLCH L 68.5% C 0.160 H 258.2°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#5799FB
RGBrgb(87, 153, 251)
HSLhsl(216, 95%, 66%)
HSVhsv(216, 65%, 98%)
CMYKcmyk(65.3%, 39%, 0%, 1.6%)
CIE-LABlab(63.15, 9.28, -55.08)
CIE-LCHlch(63.15, 55.85, 279.56°)
OKLaboklab(68.49% -0.0328 -0.1568)
OKLCHoklch(68.49% 0.16 258.2)
XYZxyz(32.7280, 31.7705, 95.6556)
Luminance0.3177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5799FB #FBB957
analogous
#57EBFB #5799FB #6757FB
triadic
#5799FB #FB5799 #99FB57
tetradic
#5799FB #FB57EB #FBB957 #57FB67
square
#5799FB #FB57EB #FBB957 #57FB67
split-complementary
#5799FB #FB6757 #EBFB57
monochromatic
#0558D3 #1B75FA #5799FB #93BDFC #CFE2FE

Accessibility & contrast

On white

2.86
#5799FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#5799FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5799FB
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5799FB#FFFFFF#000000##000000
##5799FB1.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6DA1FF
Deuteranopia (green-blind)
#5492F9
Tritanopia (blue-blind)
#00B0BE
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #5799fb;
/* rgb */ color: rgb(87, 153, 251);
/* oklch */ color: oklch(68.5% 0.160 258.2);
Tailwind
colors: {
  custom: {
    50: '#96b6fd',
    500: '#5799fb',
    950: '#000000',
  },
}
SCSS
$custom: #5799fb;
$custom-light: #96b6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#5799fb",
  "rgb": {
    "r": 87,
    "g": 153,
    "b": 251
  },
  "hsl": {
    "h": 215.854,
    "s": 95.349,
    "l": 66.275
  },
  "oklch": {
    "l": 0.68491,
    "c": 0.16023,
    "h": 258.2
  },
  "luminance": 0.31774
}

Semantic roles & 50–950 ramp

primary
#5799FB
secondary
#F2DCBC
accent
#8900E6
background
#F9FBFF
surface
#F2F6FF
border
#CCD0D7
text
#0F1118
muted
#7E8086

Preview Lab

Preview with #5799FB

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

Preview Lab → · Contrast checker → · Palette generator →

#5799FB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva