#5F79EE#5F79EE

#5F79EE is a mid, vivid blue. Relative luminance 0.223; OKLCH L 61.6% C 0.177 H 270.9°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#5F79EE
RGBrgb(95, 121, 238)
HSLhsl(229, 81%, 65%)
HSVhsv(229, 60%, 93%)
CMYKcmyk(60.1%, 49.2%, 0%, 6.7%)
CIE-LABlab(54.32, 25.51, -62.00)
CIE-LCHlch(54.32, 67.05, 292.36°)
OKLaboklab(61.58% 0.0029 -0.1774)
OKLCHoklch(61.58% 0.177 270.9)
XYZxyz(26.9841, 22.2785, 83.7505)
Luminance0.2228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F79EE #EED45F
analogous
#5FC0EE #5F79EE #8C5FEE
triadic
#5F79EE #EE5F79 #79EE5F
tetradic
#5F79EE #EE5FC0 #EED45F #5FEE8C
square
#5F79EE #EE5FC0 #EED45F #5FEE8C
split-complementary
#5F79EE #EE8C5F #C0EE5F
monochromatic
#1433BE #284BE8 #5F79EE #96A7F4 #CED6FA

Accessibility & contrast

On white

3.85
#5F79EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#5F79EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F79EE
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F79EE#FFFFFF#000000##000000
##5F79EE1.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B89F2
Deuteranopia (green-blind)
#1C7CEC
Tritanopia (blue-blind)
#0094A8
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5f79ee;
/* rgb */ color: rgb(95, 121, 238);
/* oklch */ color: oklch(61.6% 0.177 270.9);
Tailwind
colors: {
  custom: {
    50: '#989ff4',
    500: '#5f79ee',
    950: '#000000',
  },
}
SCSS
$custom: #5f79ee;
$custom-light: #989ff4;
$custom-dark: #000000;
JSON
{
  "hex": "#5f79ee",
  "rgb": {
    "r": 95,
    "g": 121,
    "b": 238
  },
  "hsl": {
    "h": 229.091,
    "s": 80.791,
    "l": 65.294
  },
  "oklch": {
    "l": 0.61575,
    "c": 0.17746,
    "h": 270.9
  },
  "luminance": 0.22281
}

Semantic roles & 50–950 ramp

primary
#5F79EE
secondary
#ECE4BC
accent
#B608DD
background
#FAF9FF
surface
#F3F2FE
border
#CDCCD6
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5F79EE

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

Preview Lab → · Contrast checker → · Palette generator →

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