#5F79EC#5F79EC

#5F79EC is a mid, vivid blue. Relative luminance 0.222; OKLCH L 61.4% C 0.175 H 270.9°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#5F79EC
RGBrgb(95, 121, 236)
HSLhsl(229, 79%, 65%)
HSVhsv(229, 60%, 93%)
CMYKcmyk(59.7%, 48.7%, 0%, 7.5%)
CIE-LABlab(54.20, 24.85, -61.09)
CIE-LCHlch(54.20, 65.95, 292.14°)
OKLaboklab(61.44% 0.0027 -0.1747)
OKLCHoklch(61.44% 0.175 270.9)
XYZxyz(26.6920, 22.1616, 82.2116)
Luminance0.2216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F79EC #ECD25F
analogous
#5FC0EC #5F79EC #8B5FEC
triadic
#5F79EC #EC5F79 #79EC5F
tetradic
#5F79EC #EC5FC0 #ECD25F #5FEC8B
square
#5F79EC #EC5FC0 #ECD25F #5FEC8B
split-complementary
#5F79EC #EC8B5F #C0EC5F
monochromatic
#1634BA #284BE6 #5F79EC #96A7F2 #CCD5F9

Accessibility & contrast

On white

3.87
#5F79EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#5F79EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F79EC
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F79EC#FFFFFF#000000##000000
##5F79EC1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D88F0
Deuteranopia (green-blind)
#217CEA
Tritanopia (blue-blind)
#0093A7
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5f79ec;
/* rgb */ color: rgb(95, 121, 236);
/* oklch */ color: oklch(61.4% 0.175 270.9);
Tailwind
colors: {
  custom: {
    50: '#989ff3',
    500: '#5f79ec',
    950: '#000000',
  },
}
SCSS
$custom: #5f79ec;
$custom-light: #989ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#5f79ec",
  "rgb": {
    "r": 95,
    "g": 121,
    "b": 236
  },
  "hsl": {
    "h": 228.936,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.61442,
    "c": 0.17476,
    "h": 270.9
  },
  "luminance": 0.22164
}

Semantic roles & 50–950 ramp

primary
#5F79EC
secondary
#EBE3BB
accent
#B50ADB
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5F79EC

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

Preview Lab → · Contrast checker → · Palette generator →

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