#5F9EFB#5F9EFB

#5F9EFB is a light, vivid blue. Relative luminance 0.339; OKLCH L 69.9% C 0.152 H 258.0°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#5F9EFB
RGBrgb(95, 158, 251)
HSLhsl(216, 95%, 68%)
HSVhsv(216, 62%, 98%)
CMYKcmyk(62.2%, 37.1%, 0%, 1.6%)
CIE-LABlab(64.84, 7.70, -52.38)
CIE-LCHlch(64.84, 52.94, 278.37°)
OKLaboklab(69.9% -0.0315 -0.1487)
OKLCHoklch(69.9% 0.152 258)
XYZxyz(34.3526, 33.8484, 95.9711)
Luminance0.3385 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9EFB #FBBC5F
analogous
#5FECFB #5F9EFB #6E5FFB
triadic
#5F9EFB #FB5F9E #9EFB5F
tetradic
#5F9EFB #FB5FEC #FBBC5F #5FFB6E
square
#5F9EFB #FB5FEC #FBBC5F #5FFB6E
split-complementary
#5F9EFB #FB6E5F #ECFB5F
monochromatic
#055BDA #237AFA #5F9EFB #9BC2FC #D6E6FE

Accessibility & contrast

On white

2.70
#5F9EFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#5F9EFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5F9EFB
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9EFB#FFFFFF#000000##000000
##5F9EFB1.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A5FF
Deuteranopia (green-blind)
#6097F9
Tritanopia (blue-blind)
#00B3C0
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #5f9efb;
/* rgb */ color: rgb(95, 158, 251);
/* oklch */ color: oklch(69.9% 0.152 258.0);
Tailwind
colors: {
  custom: {
    50: '#99bafd',
    500: '#5f9efb',
    950: '#000000',
  },
}
SCSS
$custom: #5f9efb;
$custom-light: #99bafd;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9efb",
  "rgb": {
    "r": 95,
    "g": 158,
    "b": 251
  },
  "hsl": {
    "h": 215.769,
    "s": 95.122,
    "l": 67.843
  },
  "oklch": {
    "l": 0.69895,
    "c": 0.15203,
    "h": 258
  },
  "luminance": 0.33852
}

Semantic roles & 50–950 ramp

primary
#5F9EFB
secondary
#F3E0C3
accent
#8900E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#0F1117
muted
#7F8085

Preview Lab

Preview with #5F9EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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