#6579CC#6579CC

#6579CC is a mid, vivid blue. Relative luminance 0.208; OKLCH L 59.8% C 0.129 H 271.8°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#6579CC
RGBrgb(101, 121, 204)
HSLhsl(228, 50%, 60%)
HSVhsv(228, 50%, 80%)
CMYKcmyk(50.5%, 40.7%, 0%, 20%)
CIE-LABlab(52.73, 15.78, -45.39)
CIE-LCHlch(52.73, 48.05, 289.17°)
OKLaboklab(59.83% 0.004 -0.1285)
OKLCHoklch(59.83% 0.129 271.8)
XYZxyz(23.0998, 20.7996, 59.9125)
Luminance0.2080 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6579CC #CCB865
analogous
#65ACCC #6579CC #8565CC
triadic
#6579CC #CC6579 #79CC65
tetradic
#6579CC #CC65AC #CCB865 #65CC85
square
#6579CC #CC65AC #CCB865 #65CC85
split-complementary
#6579CC #CC8565 #ACCC65
monochromatic
#2D3F89 #3D54B7 #6579CC #93A1DB #C1C9EA

Accessibility & contrast

On white

4.07
#6579CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#6579CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6579CC
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6579CC#FFFFFF#000000##000000
##6579CC1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5883CF
Deuteranopia (green-blind)
#4D7ACA
Tritanopia (blue-blind)
#398B99
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6579cc;
/* rgb */ color: rgb(101, 121, 204);
/* oklch */ color: oklch(59.8% 0.129 271.8);
Tailwind
colors: {
  custom: {
    50: '#979fdc',
    500: '#6579cc',
    950: '#000000',
  },
}
SCSS
$custom: #6579cc;
$custom-light: #979fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#6579cc",
  "rgb": {
    "r": 101,
    "g": 121,
    "b": 204
  },
  "hsl": {
    "h": 228.35,
    "s": 50.244,
    "l": 59.804
  },
  "oklch": {
    "l": 0.59825,
    "c": 0.1286,
    "h": 271.8
  },
  "luminance": 0.20801
}

Semantic roles & 50–950 ramp

primary
#6579CC
secondary
#DAD3B2
accent
#BF4EDA
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #6579CC

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

Preview Lab → · Contrast checker → · Palette generator →

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