#404FCC#404FCC

#404FCC is a mid, vivid blue. Relative luminance 0.110; OKLCH L 49.4% C 0.192 H 272.0°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#404FCC
RGBrgb(64, 79, 204)
HSLhsl(234, 58%, 53%)
HSVhsv(234, 69%, 80%)
CMYKcmyk(68.6%, 61.3%, 0%, 20%)
CIE-LABlab(39.65, 35.09, -66.57)
CIE-LCHlch(39.65, 75.25, 297.80°)
OKLaboklab(49.36% 0.0068 -0.192)
OKLCHoklch(49.36% 0.192 272)
XYZxyz(15.8057, 11.0401, 58.4130)
Luminance0.1104 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404FCC #CCBD40
analogous
#4095CC #404FCC #7740CC
triadic
#404FCC #CC404F #4FCC40
tetradic
#404FCC #CC4095 #CCBD40 #40CC77
square
#404FCC #CC4095 #CCBD40 #40CC77
split-complementary
#404FCC #CC7740 #95CC40
monochromatic
#1F2873 #2C38A3 #404FCC #707CD9 #A1A8E6

Accessibility & contrast

On white

6.55
#404FCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#404FCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #404FCC
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404FCC#FFFFFF#000000##FFFFFF
##404FCC1.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D0
Deuteranopia (green-blind)
#0057CA
Tritanopia (blue-blind)
#006F86
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #404fcc;
/* rgb */ color: rgb(64, 79, 204);
/* oklch */ color: oklch(49.4% 0.192 272.0);
Tailwind
colors: {
  custom: {
    50: '#8680dd',
    500: '#404fcc',
    950: '#000000',
  },
}
SCSS
$custom: #404fcc;
$custom-light: #8680dd;
$custom-dark: #000000;
JSON
{
  "hex": "#404fcc",
  "rgb": {
    "r": 64,
    "g": 79,
    "b": 204
  },
  "hsl": {
    "h": 233.571,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.49365,
    "c": 0.19215,
    "h": 272
  },
  "luminance": 0.11042
}

Semantic roles & 50–950 ramp

primary
#404FCC
secondary
#D2CC95
accent
#D147E1
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0D0A15
muted
#7D7C83

Preview Lab

Preview with #404FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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