#5F7FF7#5F7FF7

#5F7FF7 is a light, vivid blue. Relative luminance 0.243; OKLCH L 63.3% C 0.182 H 269.4°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#5F7FF7
RGBrgb(95, 127, 247)
HSLhsl(227, 90%, 67%)
HSVhsv(227, 62%, 97%)
CMYKcmyk(61.5%, 48.6%, 0%, 3.1%)
CIE-LABlab(56.41, 24.84, -63.64)
CIE-LCHlch(56.41, 68.32, 291.32°)
OKLaboklab(63.34% -0.0019 -0.1822)
OKLCHoklch(63.34% 0.182 269.4)
XYZxyz(29.0915, 24.3245, 91.1397)
Luminance0.2433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7FF7 #F7D75F
analogous
#5FCBF7 #5F7FF7 #8B5FF7
triadic
#5F7FF7 #F75F7F #7FF75F
tetradic
#5F7FF7 #F75FCB #F7D75F #5FF78B
square
#5F7FF7 #F75FCB #F7D75F #5FF78B
split-complementary
#5F7FF7 #F78B5F #CBF75F
monochromatic
#0A34D1 #2550F4 #5F7FF7 #99AEFA #D4DCFD

Accessibility & contrast

On white

3.58
#5F7FF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#5F7FF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F7FF7
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F7FF7#FFFFFF#000000##000000
##5F7FF71.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F8EFB
Deuteranopia (green-blind)
#1E81F5
Tritanopia (blue-blind)
#009BAF
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5f7ff7;
/* rgb */ color: rgb(95, 127, 247);
/* oklch */ color: oklch(63.3% 0.182 269.4);
Tailwind
colors: {
  custom: {
    50: '#99a3fa',
    500: '#5f7ff7',
    950: '#000000',
  },
}
SCSS
$custom: #5f7ff7;
$custom-light: #99a3fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7ff7",
  "rgb": {
    "r": 95,
    "g": 127,
    "b": 247
  },
  "hsl": {
    "h": 227.368,
    "s": 90.476,
    "l": 67.059
  },
  "oklch": {
    "l": 0.63338,
    "c": 0.18218,
    "h": 269.4
  },
  "luminance": 0.24327
}

Semantic roles & 50–950 ramp

primary
#5F7FF7
secondary
#F1E7C1
accent
#B500E6
background
#FAFAFF
surface
#F4F3FF
border
#CECDD7
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #5F7FF7

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

Preview Lab → · Contrast checker → · Palette generator →

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