#5F6FDF#5F6FDF

#5F6FDF is a mid, vivid blue. Relative luminance 0.191; OKLCH L 58.6% C 0.170 H 273.9°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#5F6FDF
RGBrgb(95, 111, 223)
HSLhsl(233, 67%, 62%)
HSVhsv(233, 57%, 87%)
CMYKcmyk(57.4%, 50.2%, 0%, 12.5%)
CIE-LABlab(50.84, 26.70, -59.20)
CIE-LCHlch(50.84, 64.94, 294.28°)
OKLaboklab(58.64% 0.0114 -0.1693)
OKLCHoklch(58.64% 0.17 273.9)
XYZxyz(23.7187, 19.1277, 72.2399)
Luminance0.1913 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6FDF #DFCF5F
analogous
#5FAFDF #5F6FDF #8F5FDF
triadic
#5F6FDF #DF5F6F #6FDF5F
tetradic
#5F6FDF #DF5FAF #DFCF5F #5FDF8F
square
#5F6FDF #DF5FAF #DFCF5F #5FDF8F
split-complementary
#5F6FDF #DF8F5F #AFDF5F
monochromatic
#2131A3 #2C41D5 #5F6FDF #929DE9 #C5CBF3

Accessibility & contrast

On white

4.35
#5F6FDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#5F6FDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F6FDF
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6FDF#FFFFFF#000000##000000
##5F6FDF1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#337FE3
Deuteranopia (green-blind)
#1A74DD
Tritanopia (blue-blind)
#00889C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5f6fdf;
/* rgb */ color: rgb(95, 111, 223);
/* oklch */ color: oklch(58.6% 0.170 273.9);
Tailwind
colors: {
  custom: {
    50: '#9698ea',
    500: '#5f6fdf',
    950: '#000000',
  },
}
SCSS
$custom: #5f6fdf;
$custom-light: #9698ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6fdf",
  "rgb": {
    "r": 95,
    "g": 111,
    "b": 223
  },
  "hsl": {
    "h": 232.5,
    "s": 66.667,
    "l": 62.353
  },
  "oklch": {
    "l": 0.58639,
    "c": 0.16969,
    "h": 273.9
  },
  "luminance": 0.19129
}

Semantic roles & 50–950 ramp

primary
#5F6FDF
secondary
#E4DEB6
accent
#B817CF
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5F6FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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