#5979FE#5979FE

#5979FE is a light, highly saturated blue. Relative luminance 0.230; OKLCH L 62.3% C 0.200 H 269.6°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#5979FE
RGBrgb(89, 121, 254)
HSLhsl(228, 99%, 67%)
HSVhsv(228, 65%, 100%)
CMYKcmyk(65%, 52.4%, 0%, 0.4%)
CIE-LABlab(55.02, 29.86, -69.76)
CIE-LCHlch(55.02, 75.88, 293.17°)
OKLaboklab(62.35% -0.0015 -0.2004)
OKLCHoklch(62.35% 0.2 269.6)
XYZxyz(28.8405, 22.9517, 96.6570)
Luminance0.2295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5979FE #FEDE59
analogous
#59CBFE #5979FE #8C59FE
triadic
#5979FE #FE5979 #79FE59
tetradic
#5979FE #FE59CB #FEDE59 #59FE8C
square
#5979FE #FE59CB #FEDE59 #59FE8C
split-complementary
#5979FE #FE8C59 #CBFE59
monochromatic
#012CDB #1C48FE #5979FE #96AAFE #D3DBFF

Accessibility & contrast

On white

3.76
#5979FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#5979FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5979FE
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5979FE#FFFFFF#000000##000000
##5979FE1.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F8BFF
Deuteranopia (green-blind)
#007DFB
Tritanopia (blue-blind)
#0099B0
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5979fe;
/* rgb */ color: rgb(89, 121, 254);
/* oklch */ color: oklch(62.3% 0.200 269.6);
Tailwind
colors: {
  custom: {
    50: '#989fff',
    500: '#5979fe',
    950: '#000000',
  },
}
SCSS
$custom: #5979fe;
$custom-light: #989fff;
$custom-dark: #000000;
JSON
{
  "hex": "#5979fe",
  "rgb": {
    "r": 89,
    "g": 121,
    "b": 254
  },
  "hsl": {
    "h": 228.364,
    "s": 98.802,
    "l": 67.255
  },
  "oklch": {
    "l": 0.62346,
    "c": 0.2004,
    "h": 269.6
  },
  "luminance": 0.22954
}

Semantic roles & 50–950 ramp

primary
#5979FE
secondary
#F3E9BF
accent
#B900E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E18
muted
#7F7E86

Preview Lab

Preview with #5979FE

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

Preview Lab → · Contrast checker → · Palette generator →

#5979FE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva