#4033AA#4033AA

#4033AA is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.7% C 0.181 H 280.0°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#4033AA
RGBrgb(64, 51, 170)
HSLhsl(247, 54%, 43%)
HSVhsv(247, 70%, 67%)
CMYKcmyk(62.4%, 70%, 0%, 33.3%)
CIE-LABlab(30.30, 40.73, -61.83)
CIE-LCHlch(30.30, 74.04, 303.37°)
OKLaboklab(41.66% 0.0314 -0.1783)
OKLCHoklch(41.66% 0.181 280)
XYZxyz(10.5516, 6.3591, 38.6938)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4033AA #9DAA33
analogous
#3361AA #4033AA #7B33AA
triadic
#4033AA #AA4033 #33AA40
tetradic
#4033AA #AA3361 #9DAA33 #33AA7B
square
#4033AA #AA3361 #9DAA33 #33AA7B
split-complementary
#4033AA #AA7B33 #61AA33
monochromatic
#1D174C #2E257B #4033AA #5D50CA #897FD9

Accessibility & contrast

On white

9.24
#4033AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#4033AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4033AA#FFFFFF#000000##FFFFFF
##4033AA1.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAE
Deuteranopia (green-blind)
#0043A8
Tritanopia (blue-blind)
#00536A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4033aa;
/* rgb */ color: rgb(64, 51, 170);
/* oklch */ color: oklch(41.7% 0.181 280.0);
Tailwind
colors: {
  custom: {
    50: '#816cc4',
    500: '#4033aa',
    950: '#000000',
  },
}
SCSS
$custom: #4033aa;
$custom-light: #816cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#4033aa",
  "rgb": {
    "r": 64,
    "g": 51,
    "b": 170
  },
  "hsl": {
    "h": 246.555,
    "s": 53.846,
    "l": 43.333
  },
  "oklch": {
    "l": 0.41657,
    "c": 0.18103,
    "h": 280
  },
  "luminance": 0.0636
}

Semantic roles & 50–950 ramp

primary
#4033AA
secondary
#B9C277
accent
#DD4BCD
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4033AA

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

Preview Lab → · Contrast checker → · Palette generator →

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