#404FBA#404FBA

#404FBA is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.9% C 0.168 H 272.4°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#404FBA
RGBrgb(64, 79, 186)
HSLhsl(233, 49%, 49%)
HSVhsv(233, 66%, 73%)
CMYKcmyk(65.6%, 57.5%, 0%, 27.1%)
CIE-LABlab(38.24, 28.79, -58.36)
CIE-LCHlch(38.24, 65.08, 296.26°)
OKLaboklab(47.89% 0.0069 -0.1679)
OKLCHoklch(47.89% 0.168 272.4)
XYZxyz(13.7703, 10.2259, 47.6930)
Luminance0.1023 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404FBA #BAAB40
analogous
#408CBA #404FBA #6E40BA
triadic
#404FBA #BA404F #4FBA40
tetradic
#404FBA #BA408C #BAAB40 #40BA6E
square
#404FBA #BA408C #BAAB40 #40BA6E
split-complementary
#404FBA #BA6E40 #8CBA40
monochromatic
#21285F #303C8C #404FBA #6B77CC #99A1DC

Accessibility & contrast

On white

6.90
#404FBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#404FBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #404FBA
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404FBA#FFFFFF#000000##FFFFFF
##404FBA1.006.903.056.90
#FFFFFF6.901.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BE
Deuteranopia (green-blind)
#0055B8
Tritanopia (blue-blind)
#00697D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #404fba;
/* rgb */ color: rgb(64, 79, 186);
/* oklch */ color: oklch(47.9% 0.168 272.4);
Tailwind
colors: {
  custom: {
    50: '#8280d0',
    500: '#404fba',
    950: '#000000',
  },
}
SCSS
$custom: #404fba;
$custom-light: #8280d0;
$custom-dark: #000000;
JSON
{
  "hex": "#404fba",
  "rgb": {
    "r": 64,
    "g": 79,
    "b": 186
  },
  "hsl": {
    "h": 232.623,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.47885,
    "c": 0.16808,
    "h": 272.4
  },
  "luminance": 0.10227
}

Semantic roles & 50–950 ramp

primary
#404FBA
secondary
#C8C18E
accent
#C84FD8
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A14
muted
#7D7C82

Preview Lab

Preview with #404FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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