#5F79DA#5F79DA

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

Color values

HEX#5F79DA
RGBrgb(95, 121, 218)
HSLhsl(227, 62%, 61%)
HSVhsv(227, 56%, 85%)
CMYKcmyk(56.4%, 44.5%, 0%, 14.5%)
CIE-LABlab(53.13, 18.95, -52.70)
CIE-LCHlch(53.13, 56.00, 289.78°)
OKLaboklab(60.29% 0.0003 -0.1501)
OKLCHoklch(60.29% 0.15 270.1)
XYZxyz(24.2074, 21.1678, 69.1262)
Luminance0.2117 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F79DA #DAC05F
analogous
#5FB7DA #5F79DA #835FDA
triadic
#5F79DA #DA5F79 #79DA5F
tetradic
#5F79DA #DA5FB7 #DAC05F #5FDA83
square
#5F79DA #DA5FB7 #DAC05F #5FDA83
split-complementary
#5F79DA #DA835F #B7DA5F
monochromatic
#243D9B #2F51CD #5F79DA #91A3E5 #C2CCF1

Accessibility & contrast

On white

4.01
#5F79DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#5F79DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F79DA
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F79DA#FFFFFF#000000##000000
##5F79DA1.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D85DE
Deuteranopia (green-blind)
#3D7AD8
Tritanopia (blue-blind)
#0C8E9F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5f79da;
/* rgb */ color: rgb(95, 121, 218);
/* oklch */ color: oklch(60.3% 0.150 270.1);
Tailwind
colors: {
  custom: {
    50: '#959fe6',
    500: '#5f79da',
    950: '#000000',
  },
}
SCSS
$custom: #5f79da;
$custom-light: #959fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#5f79da",
  "rgb": {
    "r": 95,
    "g": 121,
    "b": 218
  },
  "hsl": {
    "h": 227.317,
    "s": 62.437,
    "l": 61.373
  },
  "oklch": {
    "l": 0.60287,
    "c": 0.15009,
    "h": 270.1
  },
  "luminance": 0.2117
}

Semantic roles & 50–950 ramp

primary
#5F79DA
secondary
#E1D8B3
accent
#A51BCA
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5F79DA

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

Preview Lab → · Contrast checker → · Palette generator →

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