#5F6EFD#5F6EFD

#5F6EFD is a mid, highly saturated blue. Relative luminance 0.207; OKLCH L 60.6% C 0.211 H 273.8°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#5F6EFD
RGBrgb(95, 110, 253)
HSLhsl(234, 98%, 68%)
HSVhsv(234, 62%, 99%)
CMYKcmyk(62.5%, 56.5%, 0%, 0.8%)
CIE-LABlab(52.59, 37.12, -73.13)
CIE-LCHlch(52.59, 82.01, 296.91°)
OKLaboklab(60.59% 0.0139 -0.2103)
OKLCHoklch(60.59% 0.211 273.8)
XYZxyz(28.0190, 20.6742, 95.4234)
Luminance0.2068 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6EFD #FDEE5F
analogous
#5FBDFD #5F6EFD #9F5FFD
triadic
#5F6EFD #FD5F6E #6EFD5F
tetradic
#5F6EFD #FD5FBD #FDEE5F #5FFD9F
square
#5F6EFD #FD5FBD #FDEE5F #5FFD9F
split-complementary
#5F6EFD #FD9F5F #BDFD5F
monochromatic
#0318DF #2337FC #5F6EFD #9BA5FE #D8DCFF

Accessibility & contrast

On white

4.09
#5F6EFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#5F6EFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F6EFD
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6EFD#FFFFFF#000000##000000
##5F6EFD1.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f6efd;
/* rgb */ color: rgb(95, 110, 253);
/* oklch */ color: oklch(60.6% 0.211 273.8);
Tailwind
colors: {
  custom: {
    50: '#9b97ff',
    500: '#5f6efd',
    950: '#000000',
  },
}
SCSS
$custom: #5f6efd;
$custom-light: #9b97ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6efd",
  "rgb": {
    "r": 95,
    "g": 110,
    "b": 253
  },
  "hsl": {
    "h": 234.304,
    "s": 97.531,
    "l": 68.235
  },
  "oklch": {
    "l": 0.6059,
    "c": 0.21076,
    "h": 273.8
  },
  "luminance": 0.20677
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5F6EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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