#5B79DF#5B79DF

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

Color values

HEX#5B79DF
RGBrgb(91, 121, 223)
HSLhsl(226, 67%, 62%)
HSVhsv(226, 59%, 87%)
CMYKcmyk(59.2%, 45.7%, 0%, 12.5%)
CIE-LABlab(53.19, 19.81, -55.43)
CIE-LCHlch(53.19, 58.86, 289.67°)
OKLaboklab(60.37% -0.0029 -0.1582)
OKLCHoklch(60.37% 0.158 269)
XYZxyz(24.4666, 21.2246, 72.6052)
Luminance0.2123 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B79DF #DFC15B
analogous
#5BBBDF #5B79DF #7F5BDF
triadic
#5B79DF #DF5B79 #79DF5B
tetradic
#5B79DF #DF5BBB #DFC15B #5BDF7F
square
#5B79DF #DF5BBB #DFC15B #5BDF7F
split-complementary
#5B79DF #DF7F5B #BBDF5B
monochromatic
#1F3DA0 #2950D4 #5B79DF #8EA3E9 #C1CDF3

Accessibility & contrast

On white

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

On black

5.25
#5B79DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B79DF
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B79DF#FFFFFF#000000##000000
##5B79DF1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4985E3
Deuteranopia (green-blind)
#3479DD
Tritanopia (blue-blind)
#0090A1
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5b79df;
/* rgb */ color: rgb(91, 121, 223);
/* oklch */ color: oklch(60.4% 0.158 269.0);
Tailwind
colors: {
  custom: {
    50: '#949fe9',
    500: '#5b79df',
    950: '#000000',
  },
}
SCSS
$custom: #5b79df;
$custom-light: #949fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#5b79df",
  "rgb": {
    "r": 91,
    "g": 121,
    "b": 223
  },
  "hsl": {
    "h": 226.364,
    "s": 67.347,
    "l": 61.569
  },
  "oklch": {
    "l": 0.60368,
    "c": 0.15822,
    "h": 269
  },
  "luminance": 0.21227
}

Semantic roles & 50–950 ramp

primary
#5B79DF
secondary
#E3D8B2
accent
#A516CF
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5B79DF

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

Preview Lab → · Contrast checker → · Palette generator →

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