#6579CB#6579CB

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

Color values

HEX#6579CB
RGBrgb(101, 121, 203)
HSLhsl(228, 50%, 60%)
HSVhsv(228, 50%, 80%)
CMYKcmyk(50.2%, 40.4%, 0%, 20.4%)
CIE-LABlab(52.68, 15.47, -44.90)
CIE-LCHlch(52.68, 47.49, 289.01°)
OKLaboklab(59.77% 0.0039 -0.1271)
OKLCHoklch(59.77% 0.127 271.7)
XYZxyz(22.9802, 20.7518, 59.2829)
Luminance0.2075 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6579CB #CBB765
analogous
#65ACCB #6579CB #8465CB
triadic
#6579CB #CB6579 #79CB65
tetradic
#6579CB #CB65AC #CBB765 #65CB84
square
#6579CB #CB65AC #CBB765 #65CB84
split-complementary
#6579CB #CB8465 #ACCB65
monochromatic
#2E3F88 #3D55B6 #6579CB #93A1DA #C1C9EA

Accessibility & contrast

On white

4.08
#6579CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#6579CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6579CB
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6579CB#FFFFFF#000000##000000
##6579CB1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5882CE
Deuteranopia (green-blind)
#4E7AC9
Tritanopia (blue-blind)
#3A8A98
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6579cb;
/* rgb */ color: rgb(101, 121, 203);
/* oklch */ color: oklch(59.8% 0.127 271.7);
Tailwind
colors: {
  custom: {
    50: '#979fdb',
    500: '#6579cb',
    950: '#000000',
  },
}
SCSS
$custom: #6579cb;
$custom-light: #979fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#6579cb",
  "rgb": {
    "r": 101,
    "g": 121,
    "b": 203
  },
  "hsl": {
    "h": 228.235,
    "s": 49.515,
    "l": 59.608
  },
  "oklch": {
    "l": 0.59767,
    "c": 0.12718,
    "h": 271.7
  },
  "luminance": 0.20753
}

Semantic roles & 50–950 ramp

primary
#6579CB
secondary
#DAD2B2
accent
#BE4FD9
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #6579CB

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

Preview Lab → · Contrast checker → · Palette generator →

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