#6479EB#6479EB

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

Color values

HEX#6479EB
RGBrgb(100, 121, 235)
HSLhsl(231, 77%, 66%)
HSVhsv(231, 57%, 92%)
CMYKcmyk(57.4%, 48.5%, 0%, 7.8%)
CIE-LABlab(54.43, 25.45, -60.14)
CIE-LCHlch(54.43, 65.31, 292.94°)
OKLaboklab(61.67% 0.0076 -0.1719)
OKLCHoklch(61.67% 0.172 272.5)
XYZxyz(27.0834, 22.3802, 81.4738)
Luminance0.2238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6479EB #EBD664
analogous
#64BCEB #6479EB #9264EB
triadic
#6479EB #EB6479 #79EB64
tetradic
#6479EB #EB64BC #EBD664 #64EB92
square
#6479EB #EB64BC #EBD664 #64EB92
split-complementary
#6479EB #EB9264 #BCEB64
monochromatic
#1832BC #2E4AE4 #6479EB #9AA8F2 #D0D7F9

Accessibility & contrast

On white

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

On black

5.48
#6479EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6479EB
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6479EB#FFFFFF#000000##000000
##6479EB1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F88EF
Deuteranopia (green-blind)
#297DE9
Tritanopia (blue-blind)
#0093A7
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #6479eb;
/* rgb */ color: rgb(100, 121, 235);
/* oklch */ color: oklch(61.7% 0.172 272.5);
Tailwind
colors: {
  custom: {
    50: '#9a9ff2',
    500: '#6479eb',
    950: '#000000',
  },
}
SCSS
$custom: #6479eb;
$custom-light: #9a9ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#6479eb",
  "rgb": {
    "r": 100,
    "g": 121,
    "b": 235
  },
  "hsl": {
    "h": 230.667,
    "s": 77.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.61673,
    "c": 0.17203,
    "h": 272.5
  },
  "luminance": 0.22382
}

Semantic roles & 50–950 ramp

primary
#6479EB
secondary
#ECE5BF
accent
#B90CD9
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6479EB

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

Preview Lab → · Contrast checker → · Palette generator →

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