#5F79F8#5F79F8

#5F79F8 is a light, vivid blue. Relative luminance 0.229; OKLCH L 62.3% C 0.191 H 271.1°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#5F79F8
RGBrgb(95, 121, 248)
HSLhsl(230, 92%, 67%)
HSVhsv(230, 62%, 97%)
CMYKcmyk(61.7%, 51.2%, 0%, 2.7%)
CIE-LABlab(54.95, 28.82, -66.54)
CIE-LCHlch(54.95, 72.52, 293.41°)
OKLaboklab(62.25% 0.0038 -0.1908)
OKLCHoklch(62.25% 0.191 271.1)
XYZxyz(28.4943, 22.8825, 91.7039)
Luminance0.2288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F79F8 #F8DE5F
analogous
#5FC6F8 #5F79F8 #925FF8
triadic
#5F79F8 #F85F79 #79F85F
tetradic
#5F79F8 #F85FC6 #F8DE5F #5FF892
square
#5F79F8 #F85FC6 #F8DE5F #5FF892
split-complementary
#5F79F8 #F8925F #C6F85F
monochromatic
#092CD3 #2448F5 #5F79F8 #9AAAFB #D4DBFD

Accessibility & contrast

On white

3.77
#5F79F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#5F79F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F79F8
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F79F8#FFFFFF#000000##000000
##5F79F81.003.775.585.58
#FFFFFF3.771.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D8BFD
Deuteranopia (green-blind)
#007DF5
Tritanopia (blue-blind)
#0097AD
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5f79f8;
/* rgb */ color: rgb(95, 121, 248);
/* oklch */ color: oklch(62.3% 0.191 271.1);
Tailwind
colors: {
  custom: {
    50: '#9a9ffb',
    500: '#5f79f8',
    950: '#000000',
  },
}
SCSS
$custom: #5f79f8;
$custom-light: #9a9ffb;
$custom-dark: #000000;
JSON
{
  "hex": "#5f79f8",
  "rgb": {
    "r": 95,
    "g": 121,
    "b": 248
  },
  "hsl": {
    "h": 229.804,
    "s": 91.617,
    "l": 67.255
  },
  "oklch": {
    "l": 0.62253,
    "c": 0.19084,
    "h": 271.1
  },
  "luminance": 0.22885
}

Semantic roles & 50–950 ramp

primary
#5F79F8
secondary
#F2E9C1
accent
#BF00E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5F79F8

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

Preview Lab → · Contrast checker → · Palette generator →

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