#4043AA#4043AA

#4043AA is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.3% C 0.162 H 276.3°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#4043AA
RGBrgb(64, 67, 170)
HSLhsl(238, 45%, 46%)
HSVhsv(238, 62%, 67%)
CMYKcmyk(62.4%, 60.6%, 0%, 33.3%)
CIE-LABlab(33.99, 30.90, -55.80)
CIE-LCHlch(33.99, 63.79, 298.98°)
OKLaboklab(44.35% 0.0178 -0.1605)
OKLCHoklch(44.35% 0.162 276.3)
XYZxyz(11.3748, 8.0057, 38.9682)
Luminance0.0801 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4043AA #AAA740
analogous
#4078AA #4043AA #7240AA
triadic
#4043AA #AA4043 #43AA40
tetradic
#4043AA #AA4078 #AAA740 #40AA72
square
#4043AA #AA4078 #AAA740 #40AA72
split-complementary
#4043AA #AA7240 #78AA40
monochromatic
#1F2051 #2F317E #4043AA #6366C4 #8F91D5

Accessibility & contrast

On white

8.07
#4043AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#4043AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4043AA#FFFFFF#000000##FFFFFF
##4043AA1.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AD
Deuteranopia (green-blind)
#004BA8
Tritanopia (blue-blind)
#005C70
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4043aa;
/* rgb */ color: rgb(64, 67, 170);
/* oklch */ color: oklch(44.3% 0.162 276.3);
Tailwind
colors: {
  custom: {
    50: '#8077c4',
    500: '#4043aa',
    950: '#000000',
  },
}
SCSS
$custom: #4043aa;
$custom-light: #8077c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4043aa",
  "rgb": {
    "r": 64,
    "g": 67,
    "b": 170
  },
  "hsl": {
    "h": 238.302,
    "s": 45.299,
    "l": 45.882
  },
  "oklch": {
    "l": 0.44346,
    "c": 0.1615,
    "h": 276.3
  },
  "luminance": 0.08007
}

Semantic roles & 50–950 ramp

primary
#4043AA
secondary
#C0BE86
accent
#D153D5
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #4043AA

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

Preview Lab → · Contrast checker → · Palette generator →

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