#4033AD#4033AD

#4033AD is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.9% C 0.185 H 279.6°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#4033AD
RGBrgb(64, 51, 173)
HSLhsl(246, 54%, 44%)
HSVhsv(246, 71%, 68%)
CMYKcmyk(63%, 70.5%, 0%, 32.2%)
CIE-LABlab(30.58, 41.70, -63.18)
CIE-LCHlch(30.58, 75.70, 303.43°)
OKLaboklab(41.94% 0.0309 -0.1822)
OKLCHoklch(41.94% 0.185 279.6)
XYZxyz(10.8386, 6.4739, 40.2055)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4033AD #A0AD33
analogous
#3363AD #4033AD #7D33AD
triadic
#4033AD #AD4033 #33AD40
tetradic
#4033AD #AD3363 #A0AD33 #33AD7D
square
#4033AD #AD3363 #A0AD33 #33AD7D
split-complementary
#4033AD #AD7D33 #63AD33
monochromatic
#1D174E #2F257E #4033AD #5E51CC #8A81DA

Accessibility & contrast

On white

9.15
#4033AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#4033AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4033AD#FFFFFF#000000##FFFFFF
##4033AD1.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB1
Deuteranopia (green-blind)
#0043AB
Tritanopia (blue-blind)
#00546C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4033ad;
/* rgb */ color: rgb(64, 51, 173);
/* oklch */ color: oklch(41.9% 0.185 279.6);
Tailwind
colors: {
  custom: {
    50: '#826cc7',
    500: '#4033ad',
    950: '#000000',
  },
}
SCSS
$custom: #4033ad;
$custom-light: #826cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#4033ad",
  "rgb": {
    "r": 64,
    "g": 51,
    "b": 173
  },
  "hsl": {
    "h": 246.393,
    "s": 54.464,
    "l": 43.922
  },
  "oklch": {
    "l": 0.4194,
    "c": 0.18481,
    "h": 279.6
  },
  "luminance": 0.06475
}

Semantic roles & 50–950 ramp

primary
#4033AD
secondary
#BBC379
accent
#DE4ACE
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4033AD

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

Preview Lab → · Contrast checker → · Palette generator →

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