#4044AC#4044AC

#4044AC is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.7% C 0.163 H 275.9°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#4044AC
RGBrgb(64, 68, 172)
HSLhsl(238, 46%, 46%)
HSVhsv(238, 63%, 67%)
CMYKcmyk(62.8%, 60.5%, 0%, 32.5%)
CIE-LABlab(34.40, 30.95, -56.33)
CIE-LCHlch(34.40, 64.28, 298.79°)
OKLaboklab(44.69% 0.0168 -0.1621)
OKLCHoklch(44.69% 0.163 275.9)
XYZxyz(11.6254, 8.2019, 39.9922)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4044AC #ACA840
analogous
#407AAC #4044AC #7240AC
triadic
#4044AC #AC4044 #44AC40
tetradic
#4044AC #AC407A #ACA840 #40AC72
square
#4044AC #AC407A #ACA840 #40AC72
split-complementary
#4044AC #AC7240 #7AAC40
monochromatic
#1F2153 #2F327F #4044AC #6468C5 #9193D6

Accessibility & contrast

On white

7.95
#4044AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#4044AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4044AC
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4044AC#FFFFFF#000000##FFFFFF
##4044AC1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AF
Deuteranopia (green-blind)
#004CAA
Tritanopia (blue-blind)
#005D71
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4044ac;
/* rgb */ color: rgb(64, 68, 172);
/* oklch */ color: oklch(44.7% 0.163 275.9);
Tailwind
colors: {
  custom: {
    50: '#8178c6',
    500: '#4044ac',
    950: '#000000',
  },
}
SCSS
$custom: #4044ac;
$custom-light: #8178c6;
$custom-dark: #000000;
JSON
{
  "hex": "#4044ac",
  "rgb": {
    "r": 64,
    "g": 68,
    "b": 172
  },
  "hsl": {
    "h": 237.778,
    "s": 45.763,
    "l": 46.275
  },
  "oklch": {
    "l": 0.44694,
    "c": 0.16295,
    "h": 275.9
  },
  "luminance": 0.08203
}

Semantic roles & 50–950 ramp

primary
#4044AC
secondary
#C1BF87
accent
#D152D5
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #4044AC

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

Preview Lab → · Contrast checker → · Palette generator →

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