#6479EC#6479EC

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

Color values

HEX#6479EC
RGBrgb(100, 121, 236)
HSLhsl(231, 78%, 66%)
HSVhsv(231, 58%, 93%)
CMYKcmyk(57.6%, 48.7%, 0%, 7.5%)
CIE-LABlab(54.49, 25.78, -60.60)
CIE-LCHlch(54.49, 65.86, 293.04°)
OKLaboklab(61.74% 0.0077 -0.1732)
OKLCHoklch(61.74% 0.173 272.6)
XYZxyz(27.2282, 22.4381, 82.2368)
Luminance0.2244 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6479EC #ECD764
analogous
#64BDEC #6479EC #9364EC
triadic
#6479EC #EC6479 #79EC64
tetradic
#6479EC #EC64BD #ECD764 #64EC93
square
#6479EC #EC64BD #ECD764 #64EC93
split-complementary
#6479EC #EC9364 #BDEC64
monochromatic
#1731BE #2D4AE5 #6479EC #9BA8F3 #D1D7F9

Accessibility & contrast

On white

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

On black

5.49
#6479EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6479EC
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6479EC#FFFFFF#000000##000000
##6479EC1.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)
#3E88F0
Deuteranopia (green-blind)
#277DEA
Tritanopia (blue-blind)
#0093A7
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #6479ec;
/* rgb */ color: rgb(100, 121, 236);
/* oklch */ color: oklch(61.7% 0.173 272.6);
Tailwind
colors: {
  custom: {
    50: '#9b9ff3',
    500: '#6479ec',
    950: '#000000',
  },
}
SCSS
$custom: #6479ec;
$custom-light: #9b9ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#6479ec",
  "rgb": {
    "r": 100,
    "g": 121,
    "b": 236
  },
  "hsl": {
    "h": 230.735,
    "s": 78.161,
    "l": 65.882
  },
  "oklch": {
    "l": 0.61739,
    "c": 0.17338,
    "h": 272.6
  },
  "luminance": 0.2244
}

Semantic roles & 50–950 ramp

primary
#6479EC
secondary
#ECE5BF
accent
#BA0BDA
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6479EC

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

Preview Lab → · Contrast checker → · Palette generator →

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