#4043AE#4043AE

#4043AE is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.7% C 0.167 H 276.1°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#4043AE
RGBrgb(64, 67, 174)
HSLhsl(238, 46%, 47%)
HSVhsv(238, 63%, 68%)
CMYKcmyk(63.2%, 61.5%, 0%, 31.8%)
CIE-LABlab(34.31, 32.28, -57.67)
CIE-LCHlch(34.31, 66.09, 299.24°)
OKLaboklab(44.68% 0.0176 -0.166)
OKLCHoklch(44.68% 0.167 276.1)
XYZxyz(11.7590, 8.1593, 40.9914)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4043AE #AEAB40
analogous
#407AAE #4043AE #7440AE
triadic
#4043AE #AE4043 #43AE40
tetradic
#4043AE #AE407A #AEAB40 #40AE74
square
#4043AE #AE407A #AEAB40 #40AE74
split-complementary
#4043AE #AE7440 #7AAE40
monochromatic
#1F2155 #303281 #4043AE #6568C6 #9294D7

Accessibility & contrast

On white

7.98
#4043AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#4043AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4043AE
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4043AE#FFFFFF#000000##FFFFFF
##4043AE1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B1
Deuteranopia (green-blind)
#004CAC
Tritanopia (blue-blind)
#005E72
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4043ae;
/* rgb */ color: rgb(64, 67, 174);
/* oklch */ color: oklch(44.7% 0.167 276.1);
Tailwind
colors: {
  custom: {
    50: '#8177c7',
    500: '#4043ae',
    950: '#000000',
  },
}
SCSS
$custom: #4043ae;
$custom-light: #8177c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4043ae",
  "rgb": {
    "r": 64,
    "g": 67,
    "b": 174
  },
  "hsl": {
    "h": 238.364,
    "s": 46.218,
    "l": 46.667
  },
  "oklch": {
    "l": 0.4468,
    "c": 0.16694,
    "h": 276.1
  },
  "luminance": 0.0816
}

Semantic roles & 50–950 ramp

primary
#4043AE
secondary
#C2C088
accent
#D252D6
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #4043AE

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

Preview Lab → · Contrast checker → · Palette generator →

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