#5D79F1#5D79F1

#5D79F1 is a mid, vivid blue. Relative luminance 0.224; OKLCH L 61.7% C 0.182 H 270.4°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#5D79F1
RGBrgb(93, 121, 241)
HSLhsl(229, 84%, 65%)
HSVhsv(229, 61%, 95%)
CMYKcmyk(61.4%, 49.8%, 0%, 5.5%)
CIE-LABlab(54.40, 26.15, -63.56)
CIE-LCHlch(54.40, 68.73, 292.37°)
OKLaboklab(61.66% 0.0012 -0.182)
OKLCHoklch(61.66% 0.182 270.4)
XYZxyz(27.2234, 22.3505, 86.0815)
Luminance0.2235 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D79F1 #F1D55D
analogous
#5DC3F1 #5D79F1 #8B5DF1
triadic
#5D79F1 #F15D79 #79F15D
tetradic
#5D79F1 #F15DC3 #F1D55D #5DF18B
square
#5D79F1 #F15DC3 #F1D55D #5DF18B
split-complementary
#5D79F1 #F18B5D #C3F15D
monochromatic
#1132C3 #254AEC #5D79F1 #95A8F6 #CED6FB

Accessibility & contrast

On white

3.84
#5D79F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#5D79F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D79F1
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D79F1#FFFFFF#000000##000000
##5D79F11.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3789F5
Deuteranopia (green-blind)
#0E7CEF
Tritanopia (blue-blind)
#0095AA
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5d79f1;
/* rgb */ color: rgb(93, 121, 241);
/* oklch */ color: oklch(61.7% 0.182 270.4);
Tailwind
colors: {
  custom: {
    50: '#989ff6',
    500: '#5d79f1',
    950: '#000000',
  },
}
SCSS
$custom: #5d79f1;
$custom-light: #989ff6;
$custom-dark: #000000;
JSON
{
  "hex": "#5d79f1",
  "rgb": {
    "r": 93,
    "g": 121,
    "b": 241
  },
  "hsl": {
    "h": 228.649,
    "s": 84.091,
    "l": 65.49
  },
  "oklch": {
    "l": 0.61662,
    "c": 0.18205,
    "h": 270.4
  },
  "luminance": 0.22353
}

Semantic roles & 50–950 ramp

primary
#5D79F1
secondary
#EEE4BC
accent
#B705E1
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5D79F1

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

Preview Lab → · Contrast checker → · Palette generator →

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