#5F79F6#5F79F6

#5F79F6 is a light, vivid blue. Relative luminance 0.228; OKLCH L 62.1% C 0.188 H 271.1°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#5F79F6
RGBrgb(95, 121, 246)
HSLhsl(230, 89%, 67%)
HSVhsv(230, 61%, 96%)
CMYKcmyk(61.4%, 50.8%, 0%, 3.5%)
CIE-LABlab(54.82, 28.15, -65.64)
CIE-LCHlch(54.82, 71.43, 293.21°)
OKLaboklab(62.11% 0.0036 -0.1881)
OKLCHoklch(62.11% 0.188 271.1)
XYZxyz(28.1857, 22.7591, 90.0785)
Luminance0.2276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F79F6 #F6DC5F
analogous
#5FC5F6 #5F79F6 #915FF6
triadic
#5F79F6 #F65F79 #79F65F
tetradic
#5F79F6 #F65FC5 #F6DC5F #5FF691
square
#5F79F6 #F65FC5 #F6DC5F #5FF691
split-complementary
#5F79F6 #F6915F #C5F65F
monochromatic
#0C2DCF #2548F3 #5F79F6 #99AAF9 #D3DAFD

Accessibility & contrast

On white

3.78
#5F79F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#5F79F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F79F6
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F79F6#FFFFFF#000000##000000
##5F79F61.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#308AFA
Deuteranopia (green-blind)
#007DF3
Tritanopia (blue-blind)
#0096AC
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5f79f6;
/* rgb */ color: rgb(95, 121, 246);
/* oklch */ color: oklch(62.1% 0.188 271.1);
Tailwind
colors: {
  custom: {
    50: '#9a9ffa',
    500: '#5f79f6',
    950: '#000000',
  },
}
SCSS
$custom: #5f79f6;
$custom-light: #9a9ffa;
$custom-dark: #000000;
JSON
{
  "hex": "#5f79f6",
  "rgb": {
    "r": 95,
    "g": 121,
    "b": 246
  },
  "hsl": {
    "h": 229.669,
    "s": 89.349,
    "l": 66.863
  },
  "oklch": {
    "l": 0.62115,
    "c": 0.18818,
    "h": 271.1
  },
  "luminance": 0.22761
}

Semantic roles & 50–950 ramp

primary
#5F79F6
secondary
#F1E8C0
accent
#BE00E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5F79F6

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

Preview Lab → · Contrast checker → · Palette generator →

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