#4032AA#4032AA

#4032AA is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.5% C 0.182 H 280.2°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#4032AA
RGBrgb(64, 50, 170)
HSLhsl(247, 55%, 43%)
HSVhsv(247, 71%, 67%)
CMYKcmyk(62.4%, 70.6%, 0%, 33.3%)
CIE-LABlab(30.09, 41.31, -62.18)
CIE-LCHlch(30.09, 74.65, 303.60°)
OKLaboklab(41.51% 0.0322 -0.1793)
OKLCHoklch(41.51% 0.182 280.2)
XYZxyz(10.5084, 6.2727, 38.6794)
Luminance0.0627 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4032AA #9CAA32
analogous
#3260AA #4032AA #7C32AA
triadic
#4032AA #AA4032 #32AA40
tetradic
#4032AA #AA3260 #9CAA32 #32AA7C
square
#4032AA #AA3260 #9CAA32 #32AA7C
split-complementary
#4032AA #AA7C32 #60AA32
monochromatic
#1C164B #2E247B #4032AA #5D4ECB #887DD9

Accessibility & contrast

On white

9.31
#4032AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#4032AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4032AA
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4032AA#FFFFFF#000000##FFFFFF
##4032AA1.009.312.259.31
#FFFFFF9.311.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAE
Deuteranopia (green-blind)
#0042A8
Tritanopia (blue-blind)
#00526A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4032aa;
/* rgb */ color: rgb(64, 50, 170);
/* oklch */ color: oklch(41.5% 0.182 280.2);
Tailwind
colors: {
  custom: {
    50: '#826bc4',
    500: '#4032aa',
    950: '#000000',
  },
}
SCSS
$custom: #4032aa;
$custom-light: #826bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#4032aa",
  "rgb": {
    "r": 64,
    "g": 50,
    "b": 170
  },
  "hsl": {
    "h": 247,
    "s": 54.545,
    "l": 43.137
  },
  "oklch": {
    "l": 0.41506,
    "c": 0.18216,
    "h": 280.2
  },
  "luminance": 0.06273
}

Semantic roles & 50–950 ramp

primary
#4032AA
secondary
#B9C276
accent
#DE4ACD
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4032AA

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

Preview Lab → · Contrast checker → · Palette generator →

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