#6579EF#6579EF

#6579EF is a mid, vivid blue. Relative luminance 0.227; OKLCH L 62.0% C 0.177 H 272.9°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#6579EF
RGBrgb(101, 121, 239)
HSLhsl(231, 81%, 67%)
HSVhsv(231, 58%, 94%)
CMYKcmyk(57.7%, 49.4%, 0%, 6.3%)
CIE-LABlab(54.73, 26.94, -61.88)
CIE-LCHlch(54.73, 67.49, 293.52°)
OKLaboklab(62% 0.0091 -0.1769)
OKLCHoklch(62% 0.177 272.9)
XYZxyz(27.7791, 22.6713, 84.5568)
Luminance0.2267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6579EF #EFDB65
analogous
#65BEEF #6579EF #9665EF
triadic
#6579EF #EF6579 #79EF65
tetradic
#6579EF #EF65BE #EFDB65 #65EF96
square
#6579EF #EF65BE #EFDB65 #65EF96
split-complementary
#6579EF #EF9665 #BEEF65
monochromatic
#142EC5 #2E49E9 #6579EF #9CA9F5 #D4D9FB

Accessibility & contrast

On white

3.79
#6579EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#6579EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6579EF
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6579EF#FFFFFF#000000##000000
##6579EF1.003.795.535.53
#FFFFFF3.791.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B89F3
Deuteranopia (green-blind)
#217DED
Tritanopia (blue-blind)
#0094A9
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #6579ef;
/* rgb */ color: rgb(101, 121, 239);
/* oklch */ color: oklch(62.0% 0.177 272.9);
Tailwind
colors: {
  custom: {
    50: '#9c9ff5',
    500: '#6579ef',
    950: '#000000',
  },
}
SCSS
$custom: #6579ef;
$custom-light: #9c9ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#6579ef",
  "rgb": {
    "r": 101,
    "g": 121,
    "b": 239
  },
  "hsl": {
    "h": 231.304,
    "s": 81.176,
    "l": 66.667
  },
  "oklch": {
    "l": 0.61998,
    "c": 0.17717,
    "h": 272.9
  },
  "luminance": 0.22673
}

Semantic roles & 50–950 ramp

primary
#6579EF
secondary
#EEE8C2
accent
#BF08DE
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6579EF

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

Preview Lab → · Contrast checker → · Palette generator →

#6579EF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva