#5D79F3#5D79F3

#5D79F3 is a mid, vivid blue. Relative luminance 0.225; OKLCH L 61.8% C 0.185 H 270.4°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#5D79F3
RGBrgb(93, 121, 243)
HSLhsl(229, 86%, 66%)
HSVhsv(229, 62%, 95%)
CMYKcmyk(61.7%, 50.2%, 0%, 4.7%)
CIE-LABlab(54.52, 26.82, -64.47)
CIE-LCHlch(54.52, 69.82, 292.59°)
OKLaboklab(61.8% 0.0014 -0.1847)
OKLCHoklch(61.8% 0.185 270.4)
XYZxyz(27.5238, 22.4706, 87.6634)
Luminance0.2247 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D79F3 #F3D75D
analogous
#5DC4F3 #5D79F3 #8C5DF3
triadic
#5D79F3 #F35D79 #79F35D
tetradic
#5D79F3 #F35DC4 #F3D75D #5DF38C
square
#5D79F3 #F35DC4 #F3D75D #5DF38C
split-complementary
#5D79F3 #F38C5D #C4F35D
monochromatic
#0F31C7 #244AEF #5D79F3 #96A8F7 #CFD7FB

Accessibility & contrast

On white

3.82
#5D79F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#5D79F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D79F3
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D79F3#FFFFFF#000000##000000
##5D79F31.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3489F7
Deuteranopia (green-blind)
#017CF0
Tritanopia (blue-blind)
#0095AB
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5d79f3;
/* rgb */ color: rgb(93, 121, 243);
/* oklch */ color: oklch(61.8% 0.185 270.4);
Tailwind
colors: {
  custom: {
    50: '#989ff8',
    500: '#5d79f3',
    950: '#000000',
  },
}
SCSS
$custom: #5d79f3;
$custom-light: #989ff8;
$custom-dark: #000000;
JSON
{
  "hex": "#5d79f3",
  "rgb": {
    "r": 93,
    "g": 121,
    "b": 243
  },
  "hsl": {
    "h": 228.8,
    "s": 86.207,
    "l": 65.882
  },
  "oklch": {
    "l": 0.61798,
    "c": 0.18474,
    "h": 270.4
  },
  "luminance": 0.22473
}

Semantic roles & 50–950 ramp

primary
#5D79F3
secondary
#EFE5BD
accent
#B903E3
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5D79F3

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

Preview Lab → · Contrast checker → · Palette generator →

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