#6579EB#6579EB

#6579EB is a mid, vivid blue. Relative luminance 0.224; OKLCH L 61.7% C 0.172 H 272.9°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#6579EB
RGBrgb(101, 121, 235)
HSLhsl(231, 77%, 66%)
HSVhsv(231, 57%, 92%)
CMYKcmyk(57%, 48.5%, 0%, 7.8%)
CIE-LABlab(54.49, 25.64, -60.04)
CIE-LCHlch(54.49, 65.29, 293.13°)
OKLaboklab(61.73% 0.0087 -0.1715)
OKLCHoklch(61.73% 0.172 272.9)
XYZxyz(27.1947, 22.4376, 81.4790)
Luminance0.2244 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6579EB #EBD765
analogous
#65BCEB #6579EB #9465EB
triadic
#6579EB #EB6579 #79EB65
tetradic
#6579EB #EB65BC #EBD765 #65EB94
square
#6579EB #EB65BC #EBD765 #65EB94
split-complementary
#6579EB #EB9465 #BCEB65
monochromatic
#1931BD #2F4AE4 #6579EB #9BA8F2 #D1D7F9

Accessibility & contrast

On white

3.83
#6579EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#6579EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6579EB
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6579EB#FFFFFF#000000##000000
##6579EB1.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4088EF
Deuteranopia (green-blind)
#2A7DE9
Tritanopia (blue-blind)
#0193A7
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #6579eb;
/* rgb */ color: rgb(101, 121, 235);
/* oklch */ color: oklch(61.7% 0.172 272.9);
Tailwind
colors: {
  custom: {
    50: '#9b9ff2',
    500: '#6579eb',
    950: '#000000',
  },
}
SCSS
$custom: #6579eb;
$custom-light: #9b9ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#6579eb",
  "rgb": {
    "r": 101,
    "g": 121,
    "b": 235
  },
  "hsl": {
    "h": 231.045,
    "s": 77.011,
    "l": 65.882
  },
  "oklch": {
    "l": 0.61735,
    "c": 0.17176,
    "h": 272.9
  },
  "luminance": 0.2244
}

Semantic roles & 50–950 ramp

primary
#6579EB
secondary
#ECE5C0
accent
#BB0CD9
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6579EB

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

Preview Lab → · Contrast checker → · Palette generator →

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