#4044AF#4044AF

#4044AF is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.9% C 0.167 H 275.7°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#4044AF
RGBrgb(64, 68, 175)
HSLhsl(238, 46%, 47%)
HSVhsv(238, 63%, 69%)
CMYKcmyk(63.4%, 61.1%, 0%, 31.4%)
CIE-LABlab(34.64, 31.99, -57.73)
CIE-LCHlch(34.64, 66.00, 298.99°)
OKLaboklab(44.94% 0.0167 -0.1662)
OKLCHoklch(44.94% 0.167 275.7)
XYZxyz(11.9168, 8.3184, 41.5268)
Luminance0.0832 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4044AF #AFAB40
analogous
#407CAF #4044AF #7440AF
triadic
#4044AF #AF4044 #44AF40
tetradic
#4044AF #AF407C #AFAB40 #40AF74
square
#4044AF #AF407C #AFAB40 #40AF74
split-complementary
#4044AF #AF7440 #7CAF40
monochromatic
#1F2155 #303382 #4044AF #6569C7 #9295D7

Accessibility & contrast

On white

7.88
#4044AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#4044AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4044AF
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4044AF#FFFFFF#000000##FFFFFF
##4044AF1.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B3
Deuteranopia (green-blind)
#004DAD
Tritanopia (blue-blind)
#005E73
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4044af;
/* rgb */ color: rgb(64, 68, 175);
/* oklch */ color: oklch(44.9% 0.167 275.7);
Tailwind
colors: {
  custom: {
    50: '#8178c8',
    500: '#4044af',
    950: '#000000',
  },
}
SCSS
$custom: #4044af;
$custom-light: #8178c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4044af",
  "rgb": {
    "r": 64,
    "g": 68,
    "b": 175
  },
  "hsl": {
    "h": 237.838,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.44944,
    "c": 0.16703,
    "h": 275.7
  },
  "luminance": 0.08319
}

Semantic roles & 50–950 ramp

primary
#4044AF
secondary
#C3C088
accent
#D152D6
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #4044AF

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

Preview Lab → · Contrast checker → · Palette generator →

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