#4033AE#4033AE

#4033AE is a dark, vivid blue. Relative luminance 0.065; OKLCH L 42.0% C 0.186 H 279.5°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#4033AE
RGBrgb(64, 51, 174)
HSLhsl(246, 55%, 44%)
HSVhsv(246, 71%, 68%)
CMYKcmyk(63.2%, 70.7%, 0%, 31.8%)
CIE-LABlab(30.67, 42.02, -63.62)
CIE-LCHlch(30.67, 76.25, 303.44°)
OKLaboklab(42.04% 0.0307 -0.1835)
OKLCHoklch(42.04% 0.186 279.5)
XYZxyz(10.9357, 6.5128, 40.7170)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4033AE #A1AE33
analogous
#3364AE #4033AE #7E33AE
triadic
#4033AE #AE4033 #33AE40
tetradic
#4033AE #AE3364 #A1AE33 #33AE7E
square
#4033AE #AE3364 #A1AE33 #33AE7E
split-complementary
#4033AE #AE7E33 #64AE33
monochromatic
#1D174F #2F257F #4033AE #5F52CC #8B81DA

Accessibility & contrast

On white

9.12
#4033AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##4033AE#FFFFFF#000000##FFFFFF
##4033AE1.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4033ae;
/* rgb */ color: rgb(64, 51, 174);
/* oklch */ color: oklch(42.0% 0.186 279.5);
Tailwind
colors: {
  custom: {
    50: '#826cc7',
    500: '#4033ae',
    950: '#000000',
  },
}
SCSS
$custom: #4033ae;
$custom-light: #826cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#4033ae",
  "rgb": {
    "r": 64,
    "g": 51,
    "b": 174
  },
  "hsl": {
    "h": 246.341,
    "s": 54.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.42035,
    "c": 0.18607,
    "h": 279.5
  },
  "luminance": 0.06514
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4033AE

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

Preview Lab → · Contrast checker → · Palette generator →

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