#5D79DD#5D79DD

#5D79DD is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.4% C 0.155 H 269.6°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#5D79DD
RGBrgb(93, 121, 221)
HSLhsl(227, 65%, 62%)
HSVhsv(227, 58%, 87%)
CMYKcmyk(57.9%, 45.2%, 0%, 13.3%)
CIE-LABlab(53.19, 19.54, -54.30)
CIE-LCHlch(53.19, 57.71, 289.79°)
OKLaboklab(60.36% -0.0012 -0.1548)
OKLCHoklch(60.36% 0.155 269.6)
XYZxyz(24.3984, 21.2204, 71.2028)
Luminance0.2122 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D79DD #DDC15D
analogous
#5DB9DD #5D79DD #815DDD
triadic
#5D79DD #DD5D79 #79DD5D
tetradic
#5D79DD #DD5DB9 #DDC15D #5DDD81
square
#5D79DD #DD5DB9 #DDC15D #5DDD81
split-complementary
#5D79DD #DD815D #B9DD5D
monochromatic
#213D9E #2C50D1 #5D79DD #90A3E8 #C2CDF2

Accessibility & contrast

On white

4.00
#5D79DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#5D79DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D79DD
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D79DD#FFFFFF#000000##000000
##5D79DD1.004.005.245.24
#FFFFFF4.001.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d79dd;
/* rgb */ color: rgb(93, 121, 221);
/* oklch */ color: oklch(60.4% 0.155 269.6);
Tailwind
colors: {
  custom: {
    50: '#959fe8',
    500: '#5d79dd',
    950: '#000000',
  },
}
SCSS
$custom: #5d79dd;
$custom-light: #959fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#5d79dd",
  "rgb": {
    "r": 93,
    "g": 121,
    "b": 221
  },
  "hsl": {
    "h": 226.875,
    "s": 65.306,
    "l": 61.569
  },
  "oklch": {
    "l": 0.60356,
    "c": 0.15484,
    "h": 269.6
  },
  "luminance": 0.21222
}

Semantic roles & 50–950 ramp

primary
#5D79DD
secondary
#E3D8B3
accent
#A618CD
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5D79DD

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

Preview Lab → · Contrast checker → · Palette generator →

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