#5F79DD#5F79DD

#5F79DD is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.5% C 0.154 H 270.3°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#5F79DD
RGBrgb(95, 121, 221)
HSLhsl(228, 65%, 62%)
HSVhsv(228, 57%, 87%)
CMYKcmyk(57%, 45.2%, 0%, 13.3%)
CIE-LABlab(53.30, 19.93, -54.11)
CIE-LCHlch(53.30, 57.67, 290.22°)
OKLaboklab(60.47% 0.0008 -0.1542)
OKLCHoklch(60.47% 0.154 270.3)
XYZxyz(24.6035, 21.3262, 71.2124)
Luminance0.2133 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F79DD #DDC35F
analogous
#5FB8DD #5F79DD #845FDD
triadic
#5F79DD #DD5F79 #79DD5F
tetradic
#5F79DD #DD5FB8 #DDC35F #5FDD84
square
#5F79DD #DD5FB8 #DDC35F #5FDD84
split-complementary
#5F79DD #DD845F #B8DD5F
monochromatic
#223CA0 #2D4FD2 #5F79DD #91A3E8 #C4CEF2

Accessibility & contrast

On white

3.99
#5F79DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#5F79DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F79DD
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F79DD#FFFFFF#000000##000000
##5F79DD1.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B85E1
Deuteranopia (green-blind)
#3A7ADB
Tritanopia (blue-blind)
#008FA0
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5f79dd;
/* rgb */ color: rgb(95, 121, 221);
/* oklch */ color: oklch(60.5% 0.154 270.3);
Tailwind
colors: {
  custom: {
    50: '#969fe8',
    500: '#5f79dd',
    950: '#000000',
  },
}
SCSS
$custom: #5f79dd;
$custom-light: #969fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#5f79dd",
  "rgb": {
    "r": 95,
    "g": 121,
    "b": 221
  },
  "hsl": {
    "h": 227.619,
    "s": 64.948,
    "l": 61.961
  },
  "oklch": {
    "l": 0.60474,
    "c": 0.15424,
    "h": 270.3
  },
  "luminance": 0.21328
}

Semantic roles & 50–950 ramp

primary
#5F79DD
secondary
#E3DAB5
accent
#A819CD
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5F79DD

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

Preview Lab → · Contrast checker → · Palette generator →

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