#5F7FFE#5F7FFE

#5F7FFE is a light, vivid blue. Relative luminance 0.248; OKLCH L 63.8% C 0.191 H 269.6°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#5F7FFE
RGBrgb(95, 127, 254)
HSLhsl(228, 99%, 68%)
HSVhsv(228, 63%, 100%)
CMYKcmyk(62.6%, 50%, 0%, 0.4%)
CIE-LABlab(56.85, 27.17, -66.80)
CIE-LCHlch(56.85, 72.12, 292.13°)
OKLaboklab(63.81% -0.0012 -0.1915)
OKLCHoklch(63.81% 0.191 269.6)
XYZxyz(30.1920, 24.7647, 96.9357)
Luminance0.2477 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7FFE #FEDE5F
analogous
#5FCEFE #5F7FFE #8E5FFE
triadic
#5F7FFE #FE5F7F #7FFE5F
tetradic
#5F7FFE #FE5FCE #FEDE5F #5FFE8E
square
#5F7FFE #FE5FCE #FEDE5F #5FFE8E
split-complementary
#5F7FFE #FE8E5F #CEFE5F
monochromatic
#012EE1 #224EFE #5F7FFE #9CB0FE #D9E0FF

Accessibility & contrast

On white

3.53
#5F7FFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#5F7FFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F7FFE
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F7FFE#FFFFFF#000000##000000
##5F7FFE1.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3790FF
Deuteranopia (green-blind)
#0082FB
Tritanopia (blue-blind)
#009DB3
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5f7ffe;
/* rgb */ color: rgb(95, 127, 254);
/* oklch */ color: oklch(63.8% 0.191 269.6);
Tailwind
colors: {
  custom: {
    50: '#9ba3ff',
    500: '#5f7ffe',
    950: '#000000',
  },
}
SCSS
$custom: #5f7ffe;
$custom-light: #9ba3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7ffe",
  "rgb": {
    "r": 95,
    "g": 127,
    "b": 254
  },
  "hsl": {
    "h": 227.925,
    "s": 98.758,
    "l": 68.431
  },
  "oklch": {
    "l": 0.63806,
    "c": 0.19149,
    "h": 269.6
  },
  "luminance": 0.24767
}

Semantic roles & 50–950 ramp

primary
#5F7FFE
secondary
#F4EBC4
accent
#B700E6
background
#FAFAFF
surface
#F4F3FF
border
#CECDD7
text
#0F0F18
muted
#7F7F86

Preview Lab

Preview with #5F7FFE

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

Preview Lab → · Contrast checker → · Palette generator →

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