#5F79ED#5F79ED

#5F79ED is a mid, vivid blue. Relative luminance 0.222; OKLCH L 61.5% C 0.176 H 270.9°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#5F79ED
RGBrgb(95, 121, 237)
HSLhsl(229, 80%, 65%)
HSVhsv(229, 60%, 93%)
CMYKcmyk(59.9%, 48.9%, 0%, 7.1%)
CIE-LABlab(54.26, 25.18, -61.55)
CIE-LCHlch(54.26, 66.50, 292.25°)
OKLaboklab(61.51% 0.0028 -0.1761)
OKLCHoklch(61.51% 0.176 270.9)
XYZxyz(26.8376, 22.2199, 82.9789)
Luminance0.2222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F79ED #EDD35F
analogous
#5FC0ED #5F79ED #8C5FED
triadic
#5F79ED #ED5F79 #79ED5F
tetradic
#5F79ED #ED5FC0 #EDD35F #5FED8C
square
#5F79ED #ED5FC0 #EDD35F #5FED8C
split-complementary
#5F79ED #ED8C5F #C0ED5F
monochromatic
#1534BC #284BE7 #5F79ED #96A7F3 #CDD5F9

Accessibility & contrast

On white

3.86
#5F79ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#5F79ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F79ED
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F79ED#FFFFFF#000000##000000
##5F79ED1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f79ed;
/* rgb */ color: rgb(95, 121, 237);
/* oklch */ color: oklch(61.5% 0.176 270.9);
Tailwind
colors: {
  custom: {
    50: '#989ff3',
    500: '#5f79ed',
    950: '#000000',
  },
}
SCSS
$custom: #5f79ed;
$custom-light: #989ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#5f79ed",
  "rgb": {
    "r": 95,
    "g": 121,
    "b": 237
  },
  "hsl": {
    "h": 229.014,
    "s": 79.775,
    "l": 65.098
  },
  "oklch": {
    "l": 0.61508,
    "c": 0.17611,
    "h": 270.9
  },
  "luminance": 0.22222
}

Semantic roles & 50–950 ramp

primary
#5F79ED
secondary
#ECE3BC
accent
#B609DC
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5F79ED

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

Preview Lab → · Contrast checker → · Palette generator →

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