#6474EF#6474EF

#6474EF is a mid, vivid blue. Relative luminance 0.214; OKLCH L 61.0% C 0.184 H 274.1°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#6474EF
RGBrgb(100, 116, 239)
HSLhsl(233, 81%, 66%)
HSVhsv(233, 58%, 94%)
CMYKcmyk(58.2%, 51.5%, 0%, 6.3%)
CIE-LABlab(53.42, 29.78, -64.00)
CIE-LCHlch(53.42, 70.59, 294.95°)
OKLaboklab(60.99% 0.013 -0.1833)
OKLCHoklch(60.99% 0.184 274.1)
XYZxyz(27.0758, 21.4300, 84.3542)
Luminance0.2143 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6474EF #EFDF64
analogous
#64B9EF #6474EF #9A64EF
triadic
#6474EF #EF6474 #74EF64
tetradic
#6474EF #EF64B9 #EFDF64 #64EF9A
square
#6474EF #EF64B9 #EFDF64 #64EF9A
split-complementary
#6474EF #EF9A64 #B9EF64
monochromatic
#1429C4 #2D42E9 #6474EF #9BA6F5 #D3D7FA

Accessibility & contrast

On white

3.97
#6474EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#6474EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6474EF
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6474EF#FFFFFF#000000##000000
##6474EF1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D86F3
Deuteranopia (green-blind)
#017AEC
Tritanopia (blue-blind)
#0090A6
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6474ef;
/* rgb */ color: rgb(100, 116, 239);
/* oklch */ color: oklch(61.0% 0.184 274.1);
Tailwind
colors: {
  custom: {
    50: '#9b9bf5',
    500: '#6474ef',
    950: '#000000',
  },
}
SCSS
$custom: #6474ef;
$custom-light: #9b9bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#6474ef",
  "rgb": {
    "r": 100,
    "g": 116,
    "b": 239
  },
  "hsl": {
    "h": 233.094,
    "s": 81.287,
    "l": 66.471
  },
  "oklch": {
    "l": 0.6099,
    "c": 0.18372,
    "h": 274.1
  },
  "luminance": 0.21432
}

Semantic roles & 50–950 ramp

primary
#6474EF
secondary
#EEE9C1
accent
#C508DE
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6474EF

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

Preview Lab → · Contrast checker → · Palette generator →

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