#6474EA#6474EA

#6474EA is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.7% C 0.177 H 274.1°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#6474EA
RGBrgb(100, 116, 234)
HSLhsl(233, 76%, 65%)
HSVhsv(233, 57%, 92%)
CMYKcmyk(57.3%, 50.4%, 0%, 8.2%)
CIE-LABlab(53.10, 28.17, -61.72)
CIE-LCHlch(53.10, 67.84, 294.53°)
OKLaboklab(60.65% 0.0126 -0.1765)
OKLCHoklch(60.65% 0.177 274.1)
XYZxyz(26.3474, 21.1387, 80.5177)
Luminance0.2114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6474EA #EADA64
analogous
#64B7EA #6474EA #9764EA
triadic
#6474EA #EA6474 #74EA64
tetradic
#6474EA #EA64B7 #EADA64 #64EA97
square
#6474EA #EA64B7 #EADA64 #64EA97
split-complementary
#6474EA #EA9764 #B7EA64
monochromatic
#192CBA #2E44E3 #6474EA #9AA4F1 #D0D5F9

Accessibility & contrast

On white

4.02
#6474EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#6474EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6474EA
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6474EA#FFFFFF#000000##000000
##6474EA1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3485EE
Deuteranopia (green-blind)
#1979E8
Tritanopia (blue-blind)
#008FA4
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6474ea;
/* rgb */ color: rgb(100, 116, 234);
/* oklch */ color: oklch(60.7% 0.177 274.1);
Tailwind
colors: {
  custom: {
    50: '#9b9bf1',
    500: '#6474ea',
    950: '#000000',
  },
}
SCSS
$custom: #6474ea;
$custom-light: #9b9bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#6474ea",
  "rgb": {
    "r": 100,
    "g": 116,
    "b": 234
  },
  "hsl": {
    "h": 232.836,
    "s": 76.136,
    "l": 65.49
  },
  "oklch": {
    "l": 0.6065,
    "c": 0.17699,
    "h": 274.1
  },
  "luminance": 0.21141
}

Semantic roles & 50–950 ramp

primary
#6474EA
secondary
#EBE6BE
accent
#C00DD8
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6474EA

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

Preview Lab → · Contrast checker → · Palette generator →

#6474EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva