#5F79CF#5F79CF

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

Color values

HEX#5F79CF
RGBrgb(95, 121, 207)
HSLhsl(226, 54%, 59%)
HSVhsv(226, 54%, 81%)
CMYKcmyk(54.1%, 41.5%, 0%, 18.8%)
CIE-LABlab(52.52, 15.39, -47.45)
CIE-LCHlch(52.52, 49.88, 287.97°)
OKLaboklab(59.62% -0.0016 -0.1347)
OKLCHoklch(59.62% 0.135 269.3)
XYZxyz(22.8155, 20.6110, 61.7954)
Luminance0.2061 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F79CF #CFB55F
analogous
#5FB1CF #5F79CF #7D5FCF
triadic
#5F79CF #CF5F79 #79CF5F
tetradic
#5F79CF #CF5FB1 #CFB55F #5FCF7D
square
#5F79CF #CF5FB1 #CFB55F #5FCF7D
split-complementary
#5F79CF #CF7D5F #B1CF5F
monochromatic
#29408A #3856B9 #5F79CF #8EA0DD #BDC8EB

Accessibility & contrast

On white

4.10
#5F79CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#5F79CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F79CF
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F79CF#FFFFFF#000000##000000
##5F79CF1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5583D2
Deuteranopia (green-blind)
#4879CD
Tritanopia (blue-blind)
#248C9A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5f79cf;
/* rgb */ color: rgb(95, 121, 207);
/* oklch */ color: oklch(59.6% 0.135 269.3);
Tailwind
colors: {
  custom: {
    50: '#949fde',
    500: '#5f79cf',
    950: '#000000',
  },
}
SCSS
$custom: #5f79cf;
$custom-light: #949fde;
$custom-dark: #000000;
JSON
{
  "hex": "#5f79cf",
  "rgb": {
    "r": 95,
    "g": 121,
    "b": 207
  },
  "hsl": {
    "h": 226.071,
    "s": 53.846,
    "l": 59.216
  },
  "oklch": {
    "l": 0.5962,
    "c": 0.1347,
    "h": 269.3
  },
  "luminance": 0.20613
}

Semantic roles & 50–950 ramp

primary
#5F79CF
secondary
#DBD1AF
accent
#BB4BDD
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #5F79CF

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

Preview Lab → · Contrast checker → · Palette generator →

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