#5F79EF#5F79EF

#5F79EF is a mid, vivid blue. Relative luminance 0.223; OKLCH L 61.6% C 0.179 H 271.0°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#5F79EF
RGBrgb(95, 121, 239)
HSLhsl(229, 82%, 65%)
HSVhsv(229, 60%, 94%)
CMYKcmyk(60.3%, 49.4%, 0%, 6.3%)
CIE-LABlab(54.38, 25.84, -62.46)
CIE-LCHlch(54.38, 67.60, 292.48°)
OKLaboklab(61.64% 0.003 -0.1788)
OKLCHoklch(61.64% 0.179 271)
XYZxyz(27.1315, 22.3374, 84.5264)
Luminance0.2234 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F79EF #EFD55F
analogous
#5FC1EF #5F79EF #8D5FEF
triadic
#5F79EF #EF5F79 #79EF5F
tetradic
#5F79EF #EF5FC1 #EFD55F #5FEF8D
square
#5F79EF #EF5FC1 #EFD55F #5FEF8D
split-complementary
#5F79EF #EF8D5F #C1EF5F
monochromatic
#1332C0 #274AE9 #5F79EF #97A8F5 #CED6FA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F79EF#FFFFFF#000000##000000
##5F79EF1.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)
#3A89F3
Deuteranopia (green-blind)
#197CED
Tritanopia (blue-blind)
#0094A9
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5f79ef;
/* rgb */ color: rgb(95, 121, 239);
/* oklch */ color: oklch(61.6% 0.179 271.0);
Tailwind
colors: {
  custom: {
    50: '#989ff5',
    500: '#5f79ef',
    950: '#000000',
  },
}
SCSS
$custom: #5f79ef;
$custom-light: #989ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#5f79ef",
  "rgb": {
    "r": 95,
    "g": 121,
    "b": 239
  },
  "hsl": {
    "h": 229.167,
    "s": 81.818,
    "l": 65.49
  },
  "oklch": {
    "l": 0.61642,
    "c": 0.17881,
    "h": 271
  },
  "luminance": 0.2234
}

Semantic roles & 50–950 ramp

primary
#5F79EF
secondary
#EDE4BD
accent
#B707DE
background
#FAF9FF
surface
#F3F2FE
border
#CDCCD6
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5F79EF

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

Preview Lab → · Contrast checker → · Palette generator →

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