#5D79CB#5D79CB

#5D79CB is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.3% C 0.130 H 268.1°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#5D79CB
RGBrgb(93, 121, 203)
HSLhsl(225, 51%, 58%)
HSVhsv(225, 54%, 80%)
CMYKcmyk(54.2%, 40.4%, 0%, 20.4%)
CIE-LABlab(52.19, 13.67, -45.71)
CIE-LCHlch(52.19, 47.71, 286.65°)
OKLaboklab(59.26% -0.0043 -0.1296)
OKLCHoklch(59.26% 0.13 268.1)
XYZxyz(22.1275, 20.3121, 59.2429)
Luminance0.2031 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D79CB #CBAF5D
analogous
#5DB0CB #5D79CB #785DCB
triadic
#5D79CB #CB5D79 #79CB5D
tetradic
#5D79CB #CB5DB0 #CBAF5D #5DCB78
square
#5D79CB #CB5DB0 #CBAF5D #5DCB78
split-complementary
#5D79CB #CB785D #B0CB5D
monochromatic
#2A4183 #3958B2 #5D79CB #8B9FDA #BAC6E9

Accessibility & contrast

On white

4.15
#5D79CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#5D79CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D79CB
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D79CB#FFFFFF#000000##000000
##5D79CB1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5782CE
Deuteranopia (green-blind)
#4A78C9
Tritanopia (blue-blind)
#228B98
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5d79cb;
/* rgb */ color: rgb(93, 121, 203);
/* oklch */ color: oklch(59.3% 0.130 268.1);
Tailwind
colors: {
  custom: {
    50: '#929fdb',
    500: '#5d79cb',
    950: '#000000',
  },
}
SCSS
$custom: #5d79cb;
$custom-light: #929fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#5d79cb",
  "rgb": {
    "r": 93,
    "g": 121,
    "b": 203
  },
  "hsl": {
    "h": 224.727,
    "s": 51.402,
    "l": 58.039
  },
  "oklch": {
    "l": 0.59263,
    "c": 0.12971,
    "h": 268.1
  },
  "luminance": 0.20314
}

Semantic roles & 50–950 ramp

primary
#5D79CB
secondary
#D8CDAC
accent
#B74DDB
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #5D79CB

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

Preview Lab → · Contrast checker → · Palette generator →

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