#4039AE#4039AE

#4039AE is a dark, vivid blue. Relative luminance 0.071; OKLCH L 43.0% C 0.179 H 278.4°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#4039AE
RGBrgb(64, 57, 174)
HSLhsl(244, 51%, 45%)
HSVhsv(244, 67%, 68%)
CMYKcmyk(63.2%, 67.2%, 0%, 31.8%)
CIE-LABlab(31.97, 38.48, -61.50)
CIE-LCHlch(31.97, 72.54, 302.03°)
OKLaboklab(42.97% 0.0261 -0.1773)
OKLCHoklch(42.97% 0.179 278.4)
XYZxyz(11.2150, 7.0714, 40.8101)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4039AE #A7AE39
analogous
#396CAE #4039AE #7B39AE
triadic
#4039AE #AE4039 #39AE40
tetradic
#4039AE #AE396C #A7AE39 #39AE7B
square
#4039AE #AE396C #A7AE39 #39AE7B
split-complementary
#4039AE #AE7B39 #6CAE39
monochromatic
#1E1B52 #2F2A80 #4039AE #625BC9 #8E89D8

Accessibility & contrast

On white

8.70
#4039AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#4039AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4039AE
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4039AE#FFFFFF#000000##FFFFFF
##4039AE1.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B2
Deuteranopia (green-blind)
#0046AC
Tritanopia (blue-blind)
#00586E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4039ae;
/* rgb */ color: rgb(64, 57, 174);
/* oklch */ color: oklch(43.0% 0.179 278.4);
Tailwind
colors: {
  custom: {
    50: '#8270c7',
    500: '#4039ae',
    950: '#000000',
  },
}
SCSS
$custom: #4039ae;
$custom-light: #8270c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4039ae",
  "rgb": {
    "r": 64,
    "g": 57,
    "b": 174
  },
  "hsl": {
    "h": 243.59,
    "s": 50.649,
    "l": 45.294
  },
  "oklch": {
    "l": 0.42969,
    "c": 0.17919,
    "h": 278.4
  },
  "luminance": 0.07072
}

Semantic roles & 50–950 ramp

primary
#4039AE
secondary
#BFC380
accent
#DA4ED2
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4039AE

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

Preview Lab → · Contrast checker → · Palette generator →

#4039AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva