#5B79FE#5B79FE

#5B79FE is a light, vivid blue. Relative luminance 0.231; OKLCH L 62.5% C 0.200 H 270.1°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#5B79FE
RGBrgb(91, 121, 254)
HSLhsl(229, 99%, 68%)
HSVhsv(229, 64%, 100%)
CMYKcmyk(64.2%, 52.4%, 0%, 0.4%)
CIE-LABlab(55.13, 30.17, -69.59)
CIE-LCHlch(55.13, 75.85, 293.44°)
OKLaboklab(62.45% 0.0004 -0.1998)
OKLCHoklch(62.45% 0.2 270.1)
XYZxyz(29.0351, 23.0520, 96.6661)
Luminance0.2306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B79FE #FEE05B
analogous
#5BCBFE #5B79FE #8E5BFE
triadic
#5B79FE #FE5B79 #79FE5B
tetradic
#5B79FE #FE5BCB #FEE05B #5BFE8E
square
#5B79FE #FE5BCB #FEE05B #5BFE8E
split-complementary
#5B79FE #FE8E5B #CBFE5B
monochromatic
#012ADD #1E47FE #5B79FE #98ABFE #D5DCFF

Accessibility & contrast

On white

3.74
#5B79FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#5B79FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B79FE
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B79FE#FFFFFF#000000##000000
##5B79FE1.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#208CFF
Deuteranopia (green-blind)
#007DFB
Tritanopia (blue-blind)
#0098B0
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5b79fe;
/* rgb */ color: rgb(91, 121, 254);
/* oklch */ color: oklch(62.5% 0.200 270.1);
Tailwind
colors: {
  custom: {
    50: '#999fff',
    500: '#5b79fe',
    950: '#000000',
  },
}
SCSS
$custom: #5b79fe;
$custom-light: #999fff;
$custom-dark: #000000;
JSON
{
  "hex": "#5b79fe",
  "rgb": {
    "r": 91,
    "g": 121,
    "b": 254
  },
  "hsl": {
    "h": 228.957,
    "s": 98.788,
    "l": 67.647
  },
  "oklch": {
    "l": 0.62451,
    "c": 0.19985,
    "h": 270.1
  },
  "luminance": 0.23055
}

Semantic roles & 50–950 ramp

primary
#5B79FE
secondary
#F4EAC1
accent
#BB00E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E18
muted
#7F7E86

Preview Lab

Preview with #5B79FE

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

Preview Lab → · Contrast checker → · Palette generator →

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