#5F79F0#5F79F0

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

Color values

HEX#5F79F0
RGBrgb(95, 121, 240)
HSLhsl(229, 83%, 66%)
HSVhsv(229, 60%, 94%)
CMYKcmyk(60.4%, 49.6%, 0%, 5.9%)
CIE-LABlab(54.45, 26.17, -62.92)
CIE-LCHlch(54.45, 68.14, 292.58°)
OKLaboklab(61.71% 0.0031 -0.1801)
OKLCHoklch(61.71% 0.18 271)
XYZxyz(27.2796, 22.3967, 85.3066)
Luminance0.2240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F79F0 #F0D65F
analogous
#5FC2F0 #5F79F0 #8D5FF0
triadic
#5F79F0 #F05F79 #79F05F
tetradic
#5F79F0 #F05FC2 #F0D65F #5FF08D
square
#5F79F0 #F05FC2 #F0D65F #5FF08D
split-complementary
#5F79F0 #F08D5F #C2F05F
monochromatic
#1232C2 #274AEB #5F79F0 #97A8F5 #CFD7FA

Accessibility & contrast

On white

3.83
#5F79F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#5F79F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F79F0
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F79F0#FFFFFF#000000##000000
##5F79F01.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3889F4
Deuteranopia (green-blind)
#167CEE
Tritanopia (blue-blind)
#0094A9
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5f79f0;
/* rgb */ color: rgb(95, 121, 240);
/* oklch */ color: oklch(61.7% 0.180 271.0);
Tailwind
colors: {
  custom: {
    50: '#999ff6',
    500: '#5f79f0',
    950: '#000000',
  },
}
SCSS
$custom: #5f79f0;
$custom-light: #999ff6;
$custom-dark: #000000;
JSON
{
  "hex": "#5f79f0",
  "rgb": {
    "r": 95,
    "g": 121,
    "b": 240
  },
  "hsl": {
    "h": 229.241,
    "s": 82.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.61709,
    "c": 0.18016,
    "h": 271
  },
  "luminance": 0.22399
}

Semantic roles & 50–950 ramp

primary
#5F79F0
secondary
#EEE5BD
accent
#B806DF
background
#FAF9FF
surface
#F3F2FE
border
#CDCCD6
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5F79F0

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

Preview Lab → · Contrast checker → · Palette generator →

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