#404FCF#404FCF

#404FCF is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.6% C 0.196 H 272.0°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#404FCF
RGBrgb(64, 79, 207)
HSLhsl(234, 60%, 53%)
HSVhsv(234, 69%, 81%)
CMYKcmyk(69.1%, 61.8%, 0%, 18.8%)
CIE-LABlab(39.89, 36.14, -67.90)
CIE-LCHlch(39.89, 76.92, 298.02°)
OKLaboklab(49.62% 0.0067 -0.196)
OKLCHoklch(49.62% 0.196 272)
XYZxyz(16.1690, 11.1854, 60.3263)
Luminance0.1119 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404FCF #CFC040
analogous
#4097CF #404FCF #7840CF
triadic
#404FCF #CF404F #4FCF40
tetradic
#404FCF #CF4097 #CFC040 #40CF78
square
#404FCF #CF4097 #CFC040 #40CF78
split-complementary
#404FCF #CF7840 #97CF40
monochromatic
#1E2777 #2A37A8 #404FCF #717CDB #A2A9E8

Accessibility & contrast

On white

6.49
#404FCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#404FCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #404FCF
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404FCF#FFFFFF#000000##FFFFFF
##404FCF1.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D3
Deuteranopia (green-blind)
#0058CD
Tritanopia (blue-blind)
#007087
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #404fcf;
/* rgb */ color: rgb(64, 79, 207);
/* oklch */ color: oklch(49.6% 0.196 272.0);
Tailwind
colors: {
  custom: {
    50: '#8780df',
    500: '#404fcf',
    950: '#000000',
  },
}
SCSS
$custom: #404fcf;
$custom-light: #8780df;
$custom-dark: #000000;
JSON
{
  "hex": "#404fcf",
  "rgb": {
    "r": 64,
    "g": 79,
    "b": 207
  },
  "hsl": {
    "h": 233.706,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.4962,
    "c": 0.19607,
    "h": 272
  },
  "luminance": 0.11187
}

Semantic roles & 50–950 ramp

primary
#404FCF
secondary
#D4CE97
accent
#D245E3
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #404FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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