#4032AF#4032AF

#4032AF is a dark, vivid blue. Relative luminance 0.065; OKLCH L 42.0% C 0.188 H 279.6°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#4032AF
RGBrgb(64, 50, 175)
HSLhsl(247, 56%, 44%)
HSVhsv(247, 71%, 69%)
CMYKcmyk(63.4%, 71.4%, 0%, 31.4%)
CIE-LABlab(30.56, 42.91, -64.41)
CIE-LCHlch(30.56, 77.39, 303.67°)
OKLaboklab(41.98% 0.0313 -0.1858)
OKLCHoklch(41.98% 0.188 279.6)
XYZxyz(10.9904, 6.4655, 41.2179)
Luminance0.0647 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4032AF #A1AF32
analogous
#3263AF #4032AF #7F32AF
triadic
#4032AF #AF4032 #32AF40
tetradic
#4032AF #AF3263 #A1AF32 #32AF7F
square
#4032AF #AF3263 #A1AF32 #32AF7F
split-complementary
#4032AF #AF7F32 #63AF32
monochromatic
#1D1750 #2F247F #4032AF #5F51CD #8B81DB

Accessibility & contrast

On white

9.16
#4032AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#4032AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4032AF#FFFFFF#000000##FFFFFF
##4032AF1.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB3
Deuteranopia (green-blind)
#0043AD
Tritanopia (blue-blind)
#00546D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4032af;
/* rgb */ color: rgb(64, 50, 175);
/* oklch */ color: oklch(42.0% 0.188 279.6);
Tailwind
colors: {
  custom: {
    50: '#836cc8',
    500: '#4032af',
    950: '#000000',
  },
}
SCSS
$custom: #4032af;
$custom-light: #836cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#4032af",
  "rgb": {
    "r": 64,
    "g": 50,
    "b": 175
  },
  "hsl": {
    "h": 246.72,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.41983,
    "c": 0.18842,
    "h": 279.6
  },
  "luminance": 0.06466
}

Semantic roles & 50–950 ramp

primary
#4032AF
secondary
#BCC479
accent
#DF49CE
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4032AF

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

Preview Lab → · Contrast checker → · Palette generator →

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