#5F7FFD#5F7FFD

#5F7FFD is a light, vivid blue. Relative luminance 0.247; OKLCH L 63.7% C 0.190 H 269.6°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#5F7FFD
RGBrgb(95, 127, 253)
HSLhsl(228, 98%, 68%)
HSVhsv(228, 62%, 99%)
CMYKcmyk(62.5%, 49.8%, 0%, 0.8%)
CIE-LABlab(56.78, 26.84, -66.35)
CIE-LCHlch(56.78, 71.58, 292.02°)
OKLaboklab(63.74% -0.0013 -0.1902)
OKLCHoklch(63.74% 0.19 269.6)
XYZxyz(30.0323, 24.7009, 96.0945)
Luminance0.2470 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7FFD #FDDD5F
analogous
#5FCEFD #5F7FFD #8E5FFD
triadic
#5F7FFD #FD5F7F #7FFD5F
tetradic
#5F7FFD #FD5FCE #FDDD5F #5FFD8E
square
#5F7FFD #FD5FCE #FDDD5F #5FFD8E
split-complementary
#5F7FFD #FD8E5F #CEFD5F
monochromatic
#032FDF #234FFC #5F7FFD #9BAFFE #D8E0FF

Accessibility & contrast

On white

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

On black

5.94
#5F7FFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F7FFD
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F7FFD#FFFFFF#000000##000000
##5F7FFD1.003.535.945.94
#FFFFFF3.531.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3890FF
Deuteranopia (green-blind)
#0381FA
Tritanopia (blue-blind)
#009CB2
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5f7ffd;
/* rgb */ color: rgb(95, 127, 253);
/* oklch */ color: oklch(63.7% 0.190 269.6);
Tailwind
colors: {
  custom: {
    50: '#9aa3ff',
    500: '#5f7ffd',
    950: '#000000',
  },
}
SCSS
$custom: #5f7ffd;
$custom-light: #9aa3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7ffd",
  "rgb": {
    "r": 95,
    "g": 127,
    "b": 253
  },
  "hsl": {
    "h": 227.848,
    "s": 97.531,
    "l": 68.235
  },
  "oklch": {
    "l": 0.63739,
    "c": 0.19016,
    "h": 269.6
  },
  "luminance": 0.24703
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5F7FFD

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

Preview Lab → · Contrast checker → · Palette generator →

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