#5F91FB#5F91FB

#5F91FB is a light, vivid blue. Relative luminance 0.296; OKLCH L 67.2% C 0.166 H 263.5°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#5F91FB
RGBrgb(95, 145, 251)
HSLhsl(221, 95%, 68%)
HSVhsv(221, 62%, 98%)
CMYKcmyk(62.2%, 42.2%, 0%, 1.6%)
CIE-LABlab(61.35, 15.35, -57.93)
CIE-LCHlch(61.35, 59.93, 284.84°)
OKLaboklab(67.19% -0.0187 -0.1652)
OKLCHoklch(67.19% 0.166 263.5)
XYZxyz(32.2512, 29.6458, 95.2707)
Luminance0.2965 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F91FB #FBC95F
analogous
#5FDFFB #5F91FB #7B5FFB
triadic
#5F91FB #FB5F91 #91FB5F
tetradic
#5F91FB #FB5FDF #FBC95F #5FFB7B
square
#5F91FB #FB5FDF #FBC95F #5FFB7B
split-complementary
#5F91FB #FB7B5F #DFFB5F
monochromatic
#054ADA #2368FA #5F91FB #9BBAFC #D6E3FE

Accessibility & contrast

On white

3.03
#5F91FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#5F91FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F91FB
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F91FB#FFFFFF#000000##000000
##5F91FB1.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#609CFF
Deuteranopia (green-blind)
#498DF9
Tritanopia (blue-blind)
#00A9BA
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #5f91fb;
/* rgb */ color: rgb(95, 145, 251);
/* oklch */ color: oklch(67.2% 0.166 263.5);
Tailwind
colors: {
  custom: {
    50: '#99b0fd',
    500: '#5f91fb',
    950: '#000000',
  },
}
SCSS
$custom: #5f91fb;
$custom-light: #99b0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#5f91fb",
  "rgb": {
    "r": 95,
    "g": 145,
    "b": 251
  },
  "hsl": {
    "h": 220.769,
    "s": 95.122,
    "l": 67.843
  },
  "oklch": {
    "l": 0.67189,
    "c": 0.16623,
    "h": 263.5
  },
  "luminance": 0.29649
}

Semantic roles & 50–950 ramp

primary
#5F91FB
secondary
#F3E4C3
accent
#9C00E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F1018
muted
#7F7F86

Preview Lab

Preview with #5F91FB

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

Preview Lab → · Contrast checker → · Palette generator →

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