#5F79DB#5F79DB

#5F79DB is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.3% C 0.151 H 270.2°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#5F79DB
RGBrgb(95, 121, 219)
HSLhsl(227, 63%, 62%)
HSVhsv(227, 57%, 86%)
CMYKcmyk(56.6%, 44.7%, 0%, 14.1%)
CIE-LABlab(53.19, 19.28, -53.17)
CIE-LCHlch(53.19, 56.56, 289.93°)
OKLaboklab(60.35% 0.0005 -0.1515)
OKLCHoklch(60.35% 0.151 270.2)
XYZxyz(24.3386, 21.2203, 69.8175)
Luminance0.2122 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F79DB #DBC15F
analogous
#5FB7DB #5F79DB #835FDB
triadic
#5F79DB #DB5F79 #79DB5F
tetradic
#5F79DB #DB5FB7 #DBC15F #5FDB83
square
#5F79DB #DB5FB7 #DBC15F #5FDB83
split-complementary
#5F79DB #DB835F #B7DB5F
monochromatic
#233D9C #2E50CE #5F79DB #91A3E6 #C3CDF1

Accessibility & contrast

On white

4.00
#5F79DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#5F79DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F79DB
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F79DB#FFFFFF#000000##000000
##5F79DB1.004.005.245.24
#FFFFFF4.001.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D85DF
Deuteranopia (green-blind)
#3C7AD9
Tritanopia (blue-blind)
#088F9F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5f79db;
/* rgb */ color: rgb(95, 121, 219);
/* oklch */ color: oklch(60.3% 0.151 270.2);
Tailwind
colors: {
  custom: {
    50: '#959fe7',
    500: '#5f79db',
    950: '#000000',
  },
}
SCSS
$custom: #5f79db;
$custom-light: #959fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#5f79db",
  "rgb": {
    "r": 95,
    "g": 121,
    "b": 219
  },
  "hsl": {
    "h": 227.419,
    "s": 63.265,
    "l": 61.569
  },
  "oklch": {
    "l": 0.60349,
    "c": 0.15147,
    "h": 270.2
  },
  "luminance": 0.21222
}

Semantic roles & 50–950 ramp

primary
#5F79DB
secondary
#E2D8B4
accent
#A61ACB
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5F79DB

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

Preview Lab → · Contrast checker → · Palette generator →

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