#4044A2#4044A2

#4044A2 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.9% C 0.149 H 276.5°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#4044A2
RGBrgb(64, 68, 162)
HSLhsl(238, 43%, 44%)
HSVhsv(238, 60%, 64%)
CMYKcmyk(60.5%, 58%, 0%, 36.5%)
CIE-LABlab(33.63, 27.51, -51.59)
CIE-LCHlch(33.63, 58.47, 298.07°)
OKLaboklab(43.88% 0.0169 -0.1481)
OKLCHoklch(43.88% 0.149 276.5)
XYZxyz(10.7010, 7.8321, 35.1232)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4044A2 #A29E40
analogous
#4075A2 #4044A2 #6D40A2
triadic
#4044A2 #A24044 #44A240
tetradic
#4044A2 #A24075 #A29E40 #40A26D
square
#4044A2 #A24075 #A29E40 #40A26D
split-complementary
#4044A2 #A26D40 #75A240
monochromatic
#1D1F4A #2F3276 #4044A2 #5F63C0 #8B8ED1

Accessibility & contrast

On white

8.18
#4044A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#4044A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4044A2
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4044A2#FFFFFF#000000##FFFFFF
##4044A21.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A5
Deuteranopia (green-blind)
#004BA0
Tritanopia (blue-blind)
#005A6C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4044a2;
/* rgb */ color: rgb(64, 68, 162);
/* oklch */ color: oklch(43.9% 0.149 276.5);
Tailwind
colors: {
  custom: {
    50: '#7f78be',
    500: '#4044a2',
    950: '#000000',
  },
}
SCSS
$custom: #4044a2;
$custom-light: #7f78be;
$custom-dark: #000000;
JSON
{
  "hex": "#4044a2",
  "rgb": {
    "r": 64,
    "g": 68,
    "b": 162
  },
  "hsl": {
    "h": 237.551,
    "s": 43.363,
    "l": 44.314
  },
  "oklch": {
    "l": 0.43882,
    "c": 0.1491,
    "h": 276.5
  },
  "luminance": 0.07833
}

Semantic roles & 50–950 ramp

primary
#4044A2
secondary
#BCBA82
accent
#CE55D3
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #4044A2

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

Preview Lab → · Contrast checker → · Palette generator →

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