#5F6DFD#5F6DFD

#5F6DFD is a mid, highly saturated blue. Relative luminance 0.205; OKLCH L 60.4% C 0.212 H 274.0°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#5F6DFD
RGBrgb(95, 109, 253)
HSLhsl(235, 98%, 68%)
HSVhsv(235, 62%, 99%)
CMYKcmyk(62.5%, 56.9%, 0%, 0.8%)
CIE-LABlab(52.35, 37.72, -73.52)
CIE-LCHlch(52.35, 82.63, 297.16°)
OKLaboklab(60.41% 0.0147 -0.2114)
OKLCHoklch(60.41% 0.212 274)
XYZxyz(27.9117, 20.4597, 95.3877)
Luminance0.2046 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6DFD #FDEF5F
analogous
#5FBCFD #5F6DFD #A05FFD
triadic
#5F6DFD #FD5F6D #6DFD5F
tetradic
#5F6DFD #FD5FBC #FDEF5F #5FFDA0
square
#5F6DFD #FD5FBC #FDEF5F #5FFDA0
split-complementary
#5F6DFD #FDA05F #BCFD5F
monochromatic
#0316DF #2336FC #5F6DFD #9BA4FE #D8DBFF

Accessibility & contrast

On white

4.12
#5F6DFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#5F6DFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F6DFD
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6DFD#FFFFFF#000000##000000
##5F6DFD1.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FF
Deuteranopia (green-blind)
#0076FA
Tritanopia (blue-blind)
#0090AB
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5f6dfd;
/* rgb */ color: rgb(95, 109, 253);
/* oklch */ color: oklch(60.4% 0.212 274.0);
Tailwind
colors: {
  custom: {
    50: '#9b96ff',
    500: '#5f6dfd',
    950: '#000000',
  },
}
SCSS
$custom: #5f6dfd;
$custom-light: #9b96ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6dfd",
  "rgb": {
    "r": 95,
    "g": 109,
    "b": 253
  },
  "hsl": {
    "h": 234.684,
    "s": 97.531,
    "l": 68.235
  },
  "oklch": {
    "l": 0.60413,
    "c": 0.21196,
    "h": 274
  },
  "luminance": 0.20462
}

Semantic roles & 50–950 ramp

primary
#5F6DFD
secondary
#F4F0C4
accent
#D100E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0D18
muted
#7F7E86

Preview Lab

Preview with #5F6DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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