#4044A5#4044A5

#4044A5 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.1% C 0.153 H 276.3°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#4044A5
RGBrgb(64, 68, 165)
HSLhsl(238, 44%, 45%)
HSVhsv(238, 61%, 65%)
CMYKcmyk(61.2%, 58.8%, 0%, 35.3%)
CIE-LABlab(33.86, 28.54, -53.03)
CIE-LCHlch(33.86, 60.22, 298.29°)
OKLaboklab(44.12% 0.0169 -0.1524)
OKLCHoklch(44.12% 0.153 276.3)
XYZxyz(10.9708, 7.9400, 36.5445)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4044A5 #A5A140
analogous
#4076A5 #4044A5 #6F40A5
triadic
#4044A5 #A54044 #44A540
tetradic
#4044A5 #A54076 #A5A140 #40A56F
square
#4044A5 #A54076 #A5A140 #40A56F
split-complementary
#4044A5 #A56F40 #76A540
monochromatic
#1E204D #2F3279 #4044A5 #6164C2 #8D8FD3

Accessibility & contrast

On white

8.11
#4044A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#4044A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4044A5
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4044A5#FFFFFF#000000##FFFFFF
##4044A51.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A8
Deuteranopia (green-blind)
#004BA3
Tritanopia (blue-blind)
#005B6E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4044a5;
/* rgb */ color: rgb(64, 68, 165);
/* oklch */ color: oklch(44.1% 0.153 276.3);
Tailwind
colors: {
  custom: {
    50: '#7f78c0',
    500: '#4044a5',
    950: '#000000',
  },
}
SCSS
$custom: #4044a5;
$custom-light: #7f78c0;
$custom-dark: #000000;
JSON
{
  "hex": "#4044a5",
  "rgb": {
    "r": 64,
    "g": 68,
    "b": 165
  },
  "hsl": {
    "h": 237.624,
    "s": 44.105,
    "l": 44.902
  },
  "oklch": {
    "l": 0.44122,
    "c": 0.15329,
    "h": 276.3
  },
  "luminance": 0.07941
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4044A5

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

Preview Lab → · Contrast checker → · Palette generator →

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