#5F79E8#5F79E8

#5F79E8 is a mid, vivid blue. Relative luminance 0.219; OKLCH L 61.2% C 0.169 H 270.8°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#5F79E8
RGBrgb(95, 121, 232)
HSLhsl(229, 75%, 64%)
HSVhsv(229, 59%, 91%)
CMYKcmyk(59.1%, 47.8%, 0%, 9%)
CIE-LABlab(53.95, 23.53, -59.24)
CIE-LCHlch(53.95, 63.75, 291.67°)
OKLaboklab(61.18% 0.0022 -0.1693)
OKLCHoklch(61.18% 0.169 270.8)
XYZxyz(26.1173, 21.9317, 79.1852)
Luminance0.2193 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F79E8 #E8CE5F
analogous
#5FBEE8 #5F79E8 #8A5FE8
triadic
#5F79E8 #E85F79 #79E85F
tetradic
#5F79E8 #E85FBE #E8CE5F #5FE88A
square
#5F79E8 #E85FBE #E8CE5F #5FE88A
split-complementary
#5F79E8 #E88A5F #BEE85F
monochromatic
#1A37B3 #294CE0 #5F79E8 #95A6F0 #CAD3F7

Accessibility & contrast

On white

3.90
#5F79E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#5F79E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F79E8
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F79E8#FFFFFF#000000##000000
##5F79E81.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4187EC
Deuteranopia (green-blind)
#297BE6
Tritanopia (blue-blind)
#0092A5
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5f79e8;
/* rgb */ color: rgb(95, 121, 232);
/* oklch */ color: oklch(61.2% 0.169 270.8);
Tailwind
colors: {
  custom: {
    50: '#979ff0',
    500: '#5f79e8',
    950: '#000000',
  },
}
SCSS
$custom: #5f79e8;
$custom-light: #979ff0;
$custom-dark: #000000;
JSON
{
  "hex": "#5f79e8",
  "rgb": {
    "r": 95,
    "g": 121,
    "b": 232
  },
  "hsl": {
    "h": 228.613,
    "s": 74.863,
    "l": 64.118
  },
  "oklch": {
    "l": 0.61179,
    "c": 0.16933,
    "h": 270.8
  },
  "luminance": 0.21934
}

Semantic roles & 50–950 ramp

primary
#5F79E8
secondary
#E9E0BA
accent
#B10ED7
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5F79E8

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

Preview Lab → · Contrast checker → · Palette generator →

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