#404FC1#404FC1

#404FC1 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.4% C 0.178 H 272.2°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#404FC1
RGBrgb(64, 79, 193)
HSLhsl(233, 51%, 50%)
HSVhsv(233, 67%, 76%)
CMYKcmyk(66.8%, 59.1%, 0%, 24.3%)
CIE-LABlab(38.78, 31.25, -61.59)
CIE-LCHlch(38.78, 69.07, 296.90°)
OKLaboklab(48.45% 0.007 -0.1774)
OKLCHoklch(48.45% 0.178 272.2)
XYZxyz(14.5327, 10.5309, 51.7085)
Luminance0.1053 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404FC1 #C1B240
analogous
#4090C1 #404FC1 #7140C1
triadic
#404FC1 #C1404F #4FC140
tetradic
#404FC1 #C14090 #C1B240 #40C171
square
#404FC1 #C14090 #C1B240 #40C171
split-complementary
#404FC1 #C17140 #90C140
monochromatic
#212966 #303C94 #404FC1 #6E7AD0 #9CA4DF

Accessibility & contrast

On white

6.76
#404FC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#404FC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #404FC1
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404FC1#FFFFFF#000000##FFFFFF
##404FC11.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C5
Deuteranopia (green-blind)
#0056BF
Tritanopia (blue-blind)
#006B80
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #404fc1;
/* rgb */ color: rgb(64, 79, 193);
/* oklch */ color: oklch(48.4% 0.178 272.2);
Tailwind
colors: {
  custom: {
    50: '#8480d5',
    500: '#404fc1',
    950: '#000000',
  },
}
SCSS
$custom: #404fc1;
$custom-light: #8480d5;
$custom-dark: #000000;
JSON
{
  "hex": "#404fc1",
  "rgb": {
    "r": 64,
    "g": 79,
    "b": 193
  },
  "hsl": {
    "h": 233.023,
    "s": 50.988,
    "l": 50.392
  },
  "oklch": {
    "l": 0.4845,
    "c": 0.17757,
    "h": 272.2
  },
  "luminance": 0.10532
}

Semantic roles & 50–950 ramp

primary
#404FC1
secondary
#CBC492
accent
#CA4DDA
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #404FC1

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

Preview Lab → · Contrast checker → · Palette generator →

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