#5F79F5#5F79F5

#5F79F5 is a light, vivid blue. Relative luminance 0.227; OKLCH L 62.0% C 0.187 H 271.1°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#5F79F5
RGBrgb(95, 121, 245)
HSLhsl(230, 88%, 67%)
HSVhsv(230, 61%, 96%)
CMYKcmyk(61.2%, 50.6%, 0%, 3.9%)
CIE-LABlab(54.76, 27.82, -65.19)
CIE-LCHlch(54.76, 70.88, 293.11°)
OKLaboklab(62.05% 0.0036 -0.1868)
OKLCHoklch(62.05% 0.187 271.1)
XYZxyz(28.0326, 22.6979, 89.2724)
Luminance0.2270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F79F5 #F5DB5F
analogous
#5FC4F5 #5F79F5 #905FF5
triadic
#5F79F5 #F55F79 #79F55F
tetradic
#5F79F5 #F55FC4 #F5DB5F #5FF590
square
#5F79F5 #F55FC4 #F5DB5F #5FF590
split-complementary
#5F79F5 #F5905F #C4F55F
monochromatic
#0D2ECD #2549F1 #5F79F5 #99A9F9 #D2D9FC

Accessibility & contrast

On white

3.79
#5F79F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#5F79F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F79F5
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F79F5#FFFFFF#000000##000000
##5F79F51.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#328AF9
Deuteranopia (green-blind)
#007DF2
Tritanopia (blue-blind)
#0096AC
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5f79f5;
/* rgb */ color: rgb(95, 121, 245);
/* oklch */ color: oklch(62.0% 0.187 271.1);
Tailwind
colors: {
  custom: {
    50: '#999ff9',
    500: '#5f79f5',
    950: '#000000',
  },
}
SCSS
$custom: #5f79f5;
$custom-light: #999ff9;
$custom-dark: #000000;
JSON
{
  "hex": "#5f79f5",
  "rgb": {
    "r": 95,
    "g": 121,
    "b": 245
  },
  "hsl": {
    "h": 229.6,
    "s": 88.235,
    "l": 66.667
  },
  "oklch": {
    "l": 0.62047,
    "c": 0.18684,
    "h": 271.1
  },
  "luminance": 0.227
}

Semantic roles & 50–950 ramp

primary
#5F79F5
secondary
#F0E8C0
accent
#BD01E5
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5F79F5

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

Preview Lab → · Contrast checker → · Palette generator →

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