#6474EB#6474EB

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

Color values

HEX#6474EB
RGBrgb(100, 116, 235)
HSLhsl(233, 77%, 66%)
HSVhsv(233, 57%, 92%)
CMYKcmyk(57.4%, 50.6%, 0%, 7.8%)
CIE-LABlab(53.16, 28.49, -62.18)
CIE-LCHlch(53.16, 68.39, 294.62°)
OKLaboklab(60.72% 0.0127 -0.1779)
OKLCHoklch(60.72% 0.178 274.1)
XYZxyz(26.4914, 21.1963, 81.2764)
Luminance0.2120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6474EB #EBDB64
analogous
#64B7EB #6474EB #9764EB
triadic
#6474EB #EB6474 #74EB64
tetradic
#6474EB #EB64B7 #EBDB64 #64EB97
square
#6474EB #EB64B7 #EBDB64 #64EB97
split-complementary
#6474EB #EB9764 #B7EB64
monochromatic
#182CBC #2E43E4 #6474EB #9AA5F2 #D0D5F9

Accessibility & contrast

On white

4.01
#6474EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#6474EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6474EB
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6474EB#FFFFFF#000000##000000
##6474EB1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3385EF
Deuteranopia (green-blind)
#1579E9
Tritanopia (blue-blind)
#008FA5
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6474eb;
/* rgb */ color: rgb(100, 116, 235);
/* oklch */ color: oklch(60.7% 0.178 274.1);
Tailwind
colors: {
  custom: {
    50: '#9b9bf2',
    500: '#6474eb',
    950: '#000000',
  },
}
SCSS
$custom: #6474eb;
$custom-light: #9b9bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#6474eb",
  "rgb": {
    "r": 100,
    "g": 116,
    "b": 235
  },
  "hsl": {
    "h": 232.889,
    "s": 77.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.60718,
    "c": 0.17834,
    "h": 274.1
  },
  "luminance": 0.21198
}

Semantic roles & 50–950 ramp

primary
#6474EB
secondary
#ECE7BF
accent
#C10CD9
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6474EB

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

Preview Lab → · Contrast checker → · Palette generator →

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