#5F6FFD#5F6FFD

#5F6FFD is a mid, highly saturated blue. Relative luminance 0.209; OKLCH L 60.8% C 0.210 H 273.6°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#5F6FFD
RGBrgb(95, 111, 253)
HSLhsl(234, 98%, 68%)
HSVhsv(234, 62%, 99%)
CMYKcmyk(62.5%, 56.1%, 0%, 0.8%)
CIE-LABlab(52.83, 36.51, -72.75)
CIE-LCHlch(52.83, 81.40, 296.65°)
OKLaboklab(60.77% 0.013 -0.2091)
OKLCHoklch(60.77% 0.21 273.6)
XYZxyz(28.1275, 20.8912, 95.4596)
Luminance0.2089 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6FFD #FDED5F
analogous
#5FBEFD #5F6FFD #9E5FFD
triadic
#5F6FFD #FD5F6F #6FFD5F
tetradic
#5F6FFD #FD5FBE #FDED5F #5FFD9E
square
#5F6FFD #FD5FBE #FDED5F #5FFD9E
split-complementary
#5F6FFD #FD9E5F #BEFD5F
monochromatic
#0319DF #2339FC #5F6FFD #9BA5FE #D8DCFF

Accessibility & contrast

On white

4.05
#5F6FFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#5F6FFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F6FFD
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6FFD#FFFFFF#000000##000000
##5F6FFD1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FF
Deuteranopia (green-blind)
#0077FA
Tritanopia (blue-blind)
#0091AB
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5f6ffd;
/* rgb */ color: rgb(95, 111, 253);
/* oklch */ color: oklch(60.8% 0.210 273.6);
Tailwind
colors: {
  custom: {
    50: '#9b98ff',
    500: '#5f6ffd',
    950: '#000000',
  },
}
SCSS
$custom: #5f6ffd;
$custom-light: #9b98ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6ffd",
  "rgb": {
    "r": 95,
    "g": 111,
    "b": 253
  },
  "hsl": {
    "h": 233.924,
    "s": 97.531,
    "l": 68.235
  },
  "oklch": {
    "l": 0.60768,
    "c": 0.20955,
    "h": 273.6
  },
  "luminance": 0.20894
}

Semantic roles & 50–950 ramp

primary
#5F6FFD
secondary
#F4EFC4
accent
#CE00E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0D18
muted
#7F7E86

Preview Lab

Preview with #5F6FFD

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

Preview Lab → · Contrast checker → · Palette generator →

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