#5F7FF1#5F7FF1

#5F7FF1 is a light, vivid blue. Relative luminance 0.240; OKLCH L 62.9% C 0.174 H 269.1°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#5F7FF1
RGBrgb(95, 127, 241)
HSLhsl(227, 84%, 66%)
HSVhsv(227, 61%, 95%)
CMYKcmyk(60.6%, 47.3%, 0%, 5.5%)
CIE-LABlab(56.05, 22.86, -60.90)
CIE-LCHlch(56.05, 65.05, 290.57°)
OKLaboklab(62.94% -0.0026 -0.1741)
OKLCHoklch(62.94% 0.174 269.1)
XYZxyz(28.1805, 23.9601, 86.3417)
Luminance0.2396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7FF1 #F1D15F
analogous
#5FC8F1 #5F7FF1 #885FF1
triadic
#5F7FF1 #F15F7F #7FF15F
tetradic
#5F7FF1 #F15FC8 #F1D15F #5FF188
square
#5F7FF1 #F15FC8 #F1D15F #5FF188
split-complementary
#5F7FF1 #F1885F #C8F15F
monochromatic
#1138C4 #2752EC #5F7FF1 #97ACF6 #D0D9FB

Accessibility & contrast

On white

3.63
#5F7FF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#5F7FF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F7FF1
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F7FF1#FFFFFF#000000##000000
##5F7FF11.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#468DF5
Deuteranopia (green-blind)
#2B80EF
Tritanopia (blue-blind)
#0099AC
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5f7ff1;
/* rgb */ color: rgb(95, 127, 241);
/* oklch */ color: oklch(62.9% 0.174 269.1);
Tailwind
colors: {
  custom: {
    50: '#99a3f6',
    500: '#5f7ff1',
    950: '#000000',
  },
}
SCSS
$custom: #5f7ff1;
$custom-light: #99a3f6;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7ff1",
  "rgb": {
    "r": 95,
    "g": 127,
    "b": 241
  },
  "hsl": {
    "h": 226.849,
    "s": 83.908,
    "l": 65.882
  },
  "oklch": {
    "l": 0.62945,
    "c": 0.17413,
    "h": 269.1
  },
  "luminance": 0.23963
}

Semantic roles & 50–950 ramp

primary
#5F7FF1
secondary
#EEE3BE
accent
#B005E0
background
#FAFAFF
surface
#F3F3FF
border
#CDCDD7
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #5F7FF1

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

Preview Lab → · Contrast checker → · Palette generator →

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