#5F79DF#5F79DF

#5F79DF is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.6% C 0.157 H 270.4°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#5F79DF
RGBrgb(95, 121, 223)
HSLhsl(228, 67%, 62%)
HSVhsv(228, 57%, 87%)
CMYKcmyk(57.4%, 45.7%, 0%, 12.5%)
CIE-LABlab(53.42, 20.58, -55.05)
CIE-LCHlch(53.42, 58.78, 290.50°)
OKLaboklab(60.6% 0.0011 -0.157)
OKLCHoklch(60.6% 0.157 270.4)
XYZxyz(24.8715, 21.4334, 72.6241)
Luminance0.2144 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F79DF #DFC55F
analogous
#5FB9DF #5F79DF #855FDF
triadic
#5F79DF #DF5F79 #79DF5F
tetradic
#5F79DF #DF5FB9 #DFC55F #5FDF85
square
#5F79DF #DF5FB9 #DFC55F #5FDF85
split-complementary
#5F79DF #DF855F #B9DF5F
monochromatic
#213BA3 #2C4ED5 #5F79DF #92A4E9 #C5CEF3

Accessibility & contrast

On white

3.97
#5F79DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#5F79DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F79DF
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F79DF#FFFFFF#000000##000000
##5F79DF1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4986E3
Deuteranopia (green-blind)
#377ADD
Tritanopia (blue-blind)
#0090A1
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5f79df;
/* rgb */ color: rgb(95, 121, 223);
/* oklch */ color: oklch(60.6% 0.157 270.4);
Tailwind
colors: {
  custom: {
    50: '#969fe9',
    500: '#5f79df',
    950: '#000000',
  },
}
SCSS
$custom: #5f79df;
$custom-light: #969fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#5f79df",
  "rgb": {
    "r": 95,
    "g": 121,
    "b": 223
  },
  "hsl": {
    "h": 227.813,
    "s": 66.667,
    "l": 62.353
  },
  "oklch": {
    "l": 0.606,
    "c": 0.157,
    "h": 270.4
  },
  "luminance": 0.21435
}

Semantic roles & 50–950 ramp

primary
#5F79DF
secondary
#E4DBB6
accent
#A917CF
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5F79DF

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

Preview Lab → · Contrast checker → · Palette generator →

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