#4033A4#4033A4

#4033A4 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 41.1% C 0.173 H 280.8°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#4033A4
RGBrgb(64, 51, 164)
HSLhsl(247, 53%, 42%)
HSVhsv(247, 69%, 64%)
CMYKcmyk(61%, 68.9%, 0%, 35.7%)
CIE-LABlab(29.76, 38.79, -59.11)
CIE-LCHlch(29.76, 70.71, 303.27°)
OKLaboklab(41.1% 0.0324 -0.1703)
OKLCHoklch(41.1% 0.173 280.8)
XYZxyz(9.9969, 6.1373, 35.7726)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4033A4 #97A433
analogous
#335EA4 #4033A4 #7933A4
triadic
#4033A4 #A44033 #33A440
tetradic
#4033A4 #A4335E #97A433 #33A479
square
#4033A4 #A4335E #97A433 #33A479
split-complementary
#4033A4 #A47933 #5EA433
monochromatic
#1C1647 #2E2475 #4033A4 #5B4DC8 #867BD6

Accessibility & contrast

On white

9.43
#4033A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#4033A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4033A4
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4033A4#FFFFFF#000000##FFFFFF
##4033A41.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA7
Deuteranopia (green-blind)
#0042A2
Tritanopia (blue-blind)
#005167
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4033a4;
/* rgb */ color: rgb(64, 51, 164);
/* oklch */ color: oklch(41.1% 0.173 280.8);
Tailwind
colors: {
  custom: {
    50: '#806cc0',
    500: '#4033a4',
    950: '#000000',
  },
}
SCSS
$custom: #4033a4;
$custom-light: #806cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#4033a4",
  "rgb": {
    "r": 64,
    "g": 51,
    "b": 164
  },
  "hsl": {
    "h": 246.903,
    "s": 52.558,
    "l": 42.157
  },
  "oklch": {
    "l": 0.41099,
    "c": 0.17336,
    "h": 280.8
  },
  "luminance": 0.06138
}

Semantic roles & 50–950 ramp

primary
#4033A4
secondary
#B6BF74
accent
#DC4CCB
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #4033A4

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

Preview Lab → · Contrast checker → · Palette generator →

#4033A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva