#5F79CE#5F79CE

#5F79CE is a mid, vivid blue. Relative luminance 0.206; OKLCH L 59.6% C 0.133 H 269.2°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#5F79CE
RGBrgb(95, 121, 206)
HSLhsl(226, 53%, 59%)
HSVhsv(226, 54%, 81%)
CMYKcmyk(53.9%, 41.3%, 0%, 19.2%)
CIE-LABlab(52.47, 15.07, -46.97)
CIE-LCHlch(52.47, 49.33, 287.79°)
OKLaboklab(59.56% -0.0017 -0.1333)
OKLCHoklch(59.56% 0.133 269.2)
XYZxyz(22.6936, 20.5622, 61.1536)
Luminance0.2056 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F79CE #CEB45F
analogous
#5FB1CE #5F79CE #7D5FCE
triadic
#5F79CE #CE5F79 #79CE5F
tetradic
#5F79CE #CE5FB1 #CEB45F #5FCE7D
square
#5F79CE #CE5FB1 #CEB45F #5FCE7D
split-complementary
#5F79CE #CE7D5F #B1CE5F
monochromatic
#2A4089 #3856B8 #5F79CE #8EA0DC #BDC7EB

Accessibility & contrast

On white

4.11
#5F79CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#5F79CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F79CE
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F79CE#FFFFFF#000000##000000
##5F79CE1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5682D1
Deuteranopia (green-blind)
#4979CC
Tritanopia (blue-blind)
#258B99
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5f79ce;
/* rgb */ color: rgb(95, 121, 206);
/* oklch */ color: oklch(59.6% 0.133 269.2);
Tailwind
colors: {
  custom: {
    50: '#949fdd',
    500: '#5f79ce',
    950: '#000000',
  },
}
SCSS
$custom: #5f79ce;
$custom-light: #949fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#5f79ce",
  "rgb": {
    "r": 95,
    "g": 121,
    "b": 206
  },
  "hsl": {
    "h": 225.946,
    "s": 53.11,
    "l": 59.02
  },
  "oklch": {
    "l": 0.59561,
    "c": 0.13329,
    "h": 269.2
  },
  "luminance": 0.20564
}

Semantic roles & 50–950 ramp

primary
#5F79CE
secondary
#DAD0AF
accent
#BA4BDD
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #5F79CE

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

Preview Lab → · Contrast checker → · Palette generator →

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