#6579CD#6579CD

#6579CD is a mid, vivid blue. Relative luminance 0.208; OKLCH L 59.9% C 0.130 H 271.9°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#6579CD
RGBrgb(101, 121, 205)
HSLhsl(228, 51%, 60%)
HSVhsv(228, 51%, 80%)
CMYKcmyk(50.7%, 41%, 0%, 19.6%)
CIE-LABlab(52.78, 16.09, -45.87)
CIE-LCHlch(52.78, 48.62, 289.33°)
OKLaboklab(59.88% 0.0042 -0.13)
OKLCHoklch(59.88% 0.13 271.9)
XYZxyz(23.2201, 20.8477, 60.5462)
Luminance0.2085 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6579CD #CDB965
analogous
#65ADCD #6579CD #8565CD
triadic
#6579CD #CD6579 #79CD65
tetradic
#6579CD #CD65AD #CDB965 #65CD85
square
#6579CD #CD65AD #CDB965 #65CD85
split-complementary
#6579CD #CD8565 #ADCD65
monochromatic
#2D3F8B #3C54B9 #6579CD #93A1DC #C1C9EB

Accessibility & contrast

On white

4.06
#6579CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#6579CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6579CD
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6579CD#FFFFFF#000000##000000
##6579CD1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5783D0
Deuteranopia (green-blind)
#4C7ACB
Tritanopia (blue-blind)
#388B99
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6579cd;
/* rgb */ color: rgb(101, 121, 205);
/* oklch */ color: oklch(59.9% 0.130 271.9);
Tailwind
colors: {
  custom: {
    50: '#979fdd',
    500: '#6579cd',
    950: '#000000',
  },
}
SCSS
$custom: #6579cd;
$custom-light: #979fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#6579cd",
  "rgb": {
    "r": 101,
    "g": 121,
    "b": 205
  },
  "hsl": {
    "h": 228.462,
    "s": 50.98,
    "l": 60
  },
  "oklch": {
    "l": 0.59883,
    "c": 0.13003,
    "h": 271.9
  },
  "luminance": 0.20849
}

Semantic roles & 50–950 ramp

primary
#6579CD
secondary
#DBD3B3
accent
#BF4DDA
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #6579CD

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

Preview Lab → · Contrast checker → · Palette generator →

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