#404ECF#404ECF

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

Color values

HEX#404ECF
RGBrgb(64, 78, 207)
HSLhsl(234, 60%, 53%)
HSVhsv(234, 69%, 81%)
CMYKcmyk(69.1%, 62.3%, 0%, 18.8%)
CIE-LABlab(39.65, 36.76, -68.29)
CIE-LCHlch(39.65, 77.56, 298.29°)
OKLaboklab(49.44% 0.0074 -0.1971)
OKLCHoklch(49.44% 0.197 272.2)
XYZxyz(16.0974, 11.0422, 60.3024)
Luminance0.1104 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404ECF #CFC140
analogous
#4095CF #404ECF #7940CF
triadic
#404ECF #CF404E #4ECF40
tetradic
#404ECF #CF4095 #CFC140 #40CF79
square
#404ECF #CF4095 #CFC140 #40CF79
split-complementary
#404ECF #CF7940 #95CF40
monochromatic
#1E2777 #2A36A8 #404ECF #717BDB #A2A9E8

Accessibility & contrast

On white

6.54
#404ECF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #404ECF
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404ECF#FFFFFF#000000##FFFFFF
##404ECF1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D3
Deuteranopia (green-blind)
#0057CD
Tritanopia (blue-blind)
#006F87
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #404ecf;
/* rgb */ color: rgb(64, 78, 207);
/* oklch */ color: oklch(49.4% 0.197 272.2);
Tailwind
colors: {
  custom: {
    50: '#877fdf',
    500: '#404ecf',
    950: '#000000',
  },
}
SCSS
$custom: #404ecf;
$custom-light: #877fdf;
$custom-dark: #000000;
JSON
{
  "hex": "#404ecf",
  "rgb": {
    "r": 64,
    "g": 78,
    "b": 207
  },
  "hsl": {
    "h": 234.126,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.49443,
    "c": 0.19725,
    "h": 272.2
  },
  "luminance": 0.11044
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #404ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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