#5F6FDD#5F6FDD

#5F6FDD is a mid, vivid blue. Relative luminance 0.190; OKLCH L 58.5% C 0.167 H 273.9°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#5F6FDD
RGBrgb(95, 111, 221)
HSLhsl(232, 65%, 62%)
HSVhsv(232, 57%, 87%)
CMYKcmyk(57%, 49.8%, 0%, 13.3%)
CIE-LABlab(50.71, 26.05, -58.27)
CIE-LCHlch(50.71, 63.83, 294.09°)
OKLaboklab(58.51% 0.0113 -0.1666)
OKLCHoklch(58.51% 0.167 273.9)
XYZxyz(23.4506, 19.0205, 70.8282)
Luminance0.1902 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6FDD #DDCD5F
analogous
#5FAEDD #5F6FDD #8E5FDD
triadic
#5F6FDD #DD5F6F #6FDD5F
tetradic
#5F6FDD #DD5FAE #DDCD5F #5FDD8E
square
#5F6FDD #DD5FAE #DDCD5F #5FDD8E
split-complementary
#5F6FDD #DD8E5F #AEDD5F
monochromatic
#2232A0 #2D42D2 #5F6FDD #919CE8 #C4CAF2

Accessibility & contrast

On white

4.37
#5F6FDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#5F6FDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F6FDD
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6FDD#FFFFFF#000000##000000
##5F6FDD1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#367EE1
Deuteranopia (green-blind)
#1F74DB
Tritanopia (blue-blind)
#07889C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5f6fdd;
/* rgb */ color: rgb(95, 111, 221);
/* oklch */ color: oklch(58.5% 0.167 273.9);
Tailwind
colors: {
  custom: {
    50: '#9698e8',
    500: '#5f6fdd',
    950: '#000000',
  },
}
SCSS
$custom: #5f6fdd;
$custom-light: #9698e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6fdd",
  "rgb": {
    "r": 95,
    "g": 111,
    "b": 221
  },
  "hsl": {
    "h": 232.381,
    "s": 64.948,
    "l": 61.961
  },
  "oklch": {
    "l": 0.58505,
    "c": 0.16695,
    "h": 273.9
  },
  "luminance": 0.19022
}

Semantic roles & 50–950 ramp

primary
#5F6FDD
secondary
#E3DDB5
accent
#B619CD
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5F6FDD

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

Preview Lab → · Contrast checker → · Palette generator →

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