#4044A4#4044A4

#4044A4 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.0% C 0.152 H 276.4°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#4044A4
RGBrgb(64, 68, 164)
HSLhsl(238, 44%, 45%)
HSVhsv(238, 61%, 64%)
CMYKcmyk(61%, 58.5%, 0%, 35.7%)
CIE-LABlab(33.78, 28.20, -52.55)
CIE-LCHlch(33.78, 59.64, 298.22°)
OKLaboklab(44.04% 0.0169 -0.151)
OKLCHoklch(44.04% 0.152 276.4)
XYZxyz(10.8801, 7.9037, 36.0670)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4044A4 #A4A040
analogous
#4076A4 #4044A4 #6E40A4
triadic
#4044A4 #A44044 #44A440
tetradic
#4044A4 #A44076 #A4A040 #40A46E
square
#4044A4 #A44076 #A4A040 #40A46E
split-complementary
#4044A4 #A46E40 #76A440
monochromatic
#1E1F4C #2F3278 #4044A4 #6064C1 #8C8FD2

Accessibility & contrast

On white

8.14
#4044A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#4044A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4044A4
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4044A4#FFFFFF#000000##FFFFFF
##4044A41.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A7
Deuteranopia (green-blind)
#004BA2
Tritanopia (blue-blind)
#005B6D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4044a4;
/* rgb */ color: rgb(64, 68, 164);
/* oklch */ color: oklch(44.0% 0.152 276.4);
Tailwind
colors: {
  custom: {
    50: '#7f78c0',
    500: '#4044a4',
    950: '#000000',
  },
}
SCSS
$custom: #4044a4;
$custom-light: #7f78c0;
$custom-dark: #000000;
JSON
{
  "hex": "#4044a4",
  "rgb": {
    "r": 64,
    "g": 68,
    "b": 164
  },
  "hsl": {
    "h": 237.6,
    "s": 43.86,
    "l": 44.706
  },
  "oklch": {
    "l": 0.44042,
    "c": 0.1519,
    "h": 276.4
  },
  "luminance": 0.07905
}

Semantic roles & 50–950 ramp

primary
#4044A4
secondary
#BDBB83
accent
#CF54D4
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0B0912
muted
#7C7B81

Preview Lab

Preview with #4044A4

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

Preview Lab → · Contrast checker → · Palette generator →

#4044A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva