#4044AB#4044AB

#4044AB is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.6% C 0.162 H 276.0°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#4044AB
RGBrgb(64, 68, 171)
HSLhsl(238, 46%, 46%)
HSVhsv(238, 63%, 67%)
CMYKcmyk(62.6%, 60.2%, 0%, 32.9%)
CIE-LABlab(34.32, 30.61, -55.87)
CIE-LCHlch(34.32, 63.70, 298.72°)
OKLaboklab(44.61% 0.0168 -0.1607)
OKLCHoklch(44.61% 0.162 276)
XYZxyz(11.5298, 8.1636, 39.4883)
Luminance0.0817 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4044AB #ABA740
analogous
#4079AB #4044AB #7140AB
triadic
#4044AB #AB4044 #44AB40
tetradic
#4044AB #AB4079 #ABA740 #40AB71
square
#4044AB #AB4079 #ABA740 #40AB71
split-complementary
#4044AB #AB7140 #79AB40
monochromatic
#1F2152 #2F327E #4044AB #6367C5 #9093D5

Accessibility & contrast

On white

7.98
#4044AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#4044AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4044AB
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4044AB#FFFFFF#000000##FFFFFF
##4044AB1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AE
Deuteranopia (green-blind)
#004CA9
Tritanopia (blue-blind)
#005D71
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4044ab;
/* rgb */ color: rgb(64, 68, 171);
/* oklch */ color: oklch(44.6% 0.162 276.0);
Tailwind
colors: {
  custom: {
    50: '#8078c5',
    500: '#4044ab',
    950: '#000000',
  },
}
SCSS
$custom: #4044ab;
$custom-light: #8078c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4044ab",
  "rgb": {
    "r": 64,
    "g": 68,
    "b": 171
  },
  "hsl": {
    "h": 237.757,
    "s": 45.532,
    "l": 46.078
  },
  "oklch": {
    "l": 0.44612,
    "c": 0.16158,
    "h": 276
  },
  "luminance": 0.08165
}

Semantic roles & 50–950 ramp

primary
#4044AB
secondary
#C1BE86
accent
#D053D5
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #4044AB

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

Preview Lab → · Contrast checker → · Palette generator →

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