#5B79EE#5B79EE

#5B79EE is a mid, vivid blue. Relative luminance 0.221; OKLCH L 61.3% C 0.179 H 269.7°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#5B79EE
RGBrgb(91, 121, 238)
HSLhsl(228, 81%, 65%)
HSVhsv(228, 62%, 93%)
CMYKcmyk(61.8%, 49.2%, 0%, 6.7%)
CIE-LABlab(54.10, 24.81, -62.37)
CIE-LCHlch(54.10, 67.12, 291.69°)
OKLaboklab(61.35% -0.001 -0.1786)
OKLCHoklch(61.35% 0.179 269.7)
XYZxyz(26.5792, 22.0696, 83.7315)
Luminance0.2207 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B79EE #EED05B
analogous
#5BC3EE #5B79EE #875BEE
triadic
#5B79EE #EE5B79 #79EE5B
tetradic
#5B79EE #EE5BC3 #EED05B #5BEE87
square
#5B79EE #EE5BC3 #EED05B #5BEE87
split-complementary
#5B79EE #EE875B #C3EE5B
monochromatic
#1336BB #244CE8 #5B79EE #92A6F4 #CAD4F9

Accessibility & contrast

On white

3.88
#5B79EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#5B79EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B79EE
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B79EE#FFFFFF#000000##000000
##5B79EE1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A88F2
Deuteranopia (green-blind)
#167BEC
Tritanopia (blue-blind)
#0094A8
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5b79ee;
/* rgb */ color: rgb(91, 121, 238);
/* oklch */ color: oklch(61.3% 0.179 269.7);
Tailwind
colors: {
  custom: {
    50: '#969ff4',
    500: '#5b79ee',
    950: '#000000',
  },
}
SCSS
$custom: #5b79ee;
$custom-light: #969ff4;
$custom-dark: #000000;
JSON
{
  "hex": "#5b79ee",
  "rgb": {
    "r": 91,
    "g": 121,
    "b": 238
  },
  "hsl": {
    "h": 227.755,
    "s": 81.215,
    "l": 64.51
  },
  "oklch": {
    "l": 0.61349,
    "c": 0.1786,
    "h": 269.7
  },
  "luminance": 0.22072
}

Semantic roles & 50–950 ramp

primary
#5B79EE
secondary
#ECE1B9
accent
#B208DE
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5B79EE

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

Preview Lab → · Contrast checker → · Palette generator →

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