#5F79FF#5F79FF

#5F79FF is a light, highly saturated blue. Relative luminance 0.233; OKLCH L 62.7% C 0.200 H 271.2°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#5F79FF
RGBrgb(95, 121, 255)
HSLhsl(230, 100%, 69%)
HSVhsv(230, 63%, 100%)
CMYKcmyk(62.7%, 52.5%, 0%, 0%)
CIE-LABlab(55.41, 31.13, -69.68)
CIE-LCHlch(55.41, 76.32, 294.07°)
OKLaboklab(62.74% 0.0043 -0.2)
OKLCHoklch(62.74% 0.2 271.2)
XYZxyz(29.6006, 23.3251, 97.5306)
Luminance0.2333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F79FF #FFE55F
analogous
#5FC9FF #5F79FF #955FFF
triadic
#5F79FF #FF5F79 #79FF5F
tetradic
#5F79FF #FF5FC9 #FFE55F #5FFF95
square
#5F79FF #FF5FC9 #FFE55F #5FFF95
split-complementary
#5F79FF #FF955F #C9FF5F
monochromatic
#0025E4 #2246FF #5F79FF #9CACFF #D9E0FF

Accessibility & contrast

On white

3.71
#5F79FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#5F79FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F79FF
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F79FF#FFFFFF#000000##000000
##5F79FF1.003.715.675.67
#FFFFFF3.711.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F8CFF
Deuteranopia (green-blind)
#007EFC
Tritanopia (blue-blind)
#0099B0
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5f79ff;
/* rgb */ color: rgb(95, 121, 255);
/* oklch */ color: oklch(62.7% 0.200 271.2);
Tailwind
colors: {
  custom: {
    50: '#9b9fff',
    500: '#5f79ff',
    950: '#000000',
  },
}
SCSS
$custom: #5f79ff;
$custom-light: #9b9fff;
$custom-dark: #000000;
JSON
{
  "hex": "#5f79ff",
  "rgb": {
    "r": 95,
    "g": 121,
    "b": 255
  },
  "hsl": {
    "h": 230.25,
    "s": 100,
    "l": 68.627
  },
  "oklch": {
    "l": 0.6274,
    "c": 0.20007,
    "h": 271.2
  },
  "luminance": 0.23328
}

Semantic roles & 50–950 ramp

primary
#5F79FF
secondary
#F5EDC5
accent
#C000E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E18
muted
#7F7E86

Preview Lab

Preview with #5F79FF

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

Preview Lab → · Contrast checker → · Palette generator →

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