#404FC8#404FC8

#404FC8 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 49.0% C 0.187 H 272.1°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#404FC8
RGBrgb(64, 79, 200)
HSLhsl(233, 55%, 52%)
HSVhsv(233, 68%, 78%)
CMYKcmyk(68%, 60.5%, 0%, 21.6%)
CIE-LABlab(39.33, 33.70, -64.77)
CIE-LCHlch(39.33, 73.01, 297.49°)
OKLaboklab(49.03% 0.0069 -0.1868)
OKLCHoklch(49.03% 0.187 272.1)
XYZxyz(15.3322, 10.8506, 55.9188)
Luminance0.1085 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404FC8 #C8B940
analogous
#4093C8 #404FC8 #7540C8
triadic
#404FC8 #C8404F #4FC840
tetradic
#404FC8 #C84093 #C8B940 #40C875
square
#404FC8 #C84093 #C8B940 #40C875
split-complementary
#404FC8 #C87540 #93C840
monochromatic
#20286E #2D3A9D #404FC8 #707BD6 #9FA7E3

Accessibility & contrast

On white

6.62
#404FC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#404FC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #404FC8
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404FC8#FFFFFF#000000##FFFFFF
##404FC81.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CC
Deuteranopia (green-blind)
#0057C6
Tritanopia (blue-blind)
#006D84
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #404fc8;
/* rgb */ color: rgb(64, 79, 200);
/* oklch */ color: oklch(49.0% 0.187 272.1);
Tailwind
colors: {
  custom: {
    50: '#8580da',
    500: '#404fc8',
    950: '#000000',
  },
}
SCSS
$custom: #404fc8;
$custom-light: #8580da;
$custom-dark: #000000;
JSON
{
  "hex": "#404fc8",
  "rgb": {
    "r": 64,
    "g": 79,
    "b": 200
  },
  "hsl": {
    "h": 233.382,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.49029,
    "c": 0.1869,
    "h": 272.1
  },
  "luminance": 0.10852
}

Semantic roles & 50–950 ramp

primary
#404FC8
secondary
#D0C994
accent
#CE49DF
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #404FC8

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

Preview Lab → · Contrast checker → · Palette generator →

#404FC8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva