#4033AB#4033AB

#4033AB is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.8% C 0.182 H 279.9°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#4033AB
RGBrgb(64, 51, 171)
HSLhsl(247, 54%, 44%)
HSVhsv(247, 70%, 67%)
CMYKcmyk(62.6%, 70.2%, 0%, 32.9%)
CIE-LABlab(30.39, 41.05, -62.28)
CIE-LCHlch(30.39, 74.60, 303.39°)
OKLaboklab(41.75% 0.0313 -0.1796)
OKLCHoklch(41.75% 0.182 279.9)
XYZxyz(10.6465, 6.3971, 39.1939)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4033AB #9EAB33
analogous
#3362AB #4033AB #7C33AB
triadic
#4033AB #AB4033 #33AB40
tetradic
#4033AB #AB3362 #9EAB33 #33AB7C
square
#4033AB #AB3362 #9EAB33 #33AB7C
split-complementary
#4033AB #AB7C33 #62AB33
monochromatic
#1D174D #2E257C #4033AB #5E50CB #897FD9

Accessibility & contrast

On white

9.21
#4033AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#4033AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4033AB#FFFFFF#000000##FFFFFF
##4033AB1.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAF
Deuteranopia (green-blind)
#0043A9
Tritanopia (blue-blind)
#00536B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4033ab;
/* rgb */ color: rgb(64, 51, 171);
/* oklch */ color: oklch(41.8% 0.182 279.9);
Tailwind
colors: {
  custom: {
    50: '#826cc5',
    500: '#4033ab',
    950: '#000000',
  },
}
SCSS
$custom: #4033ab;
$custom-light: #826cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#4033ab",
  "rgb": {
    "r": 64,
    "g": 51,
    "b": 171
  },
  "hsl": {
    "h": 246.5,
    "s": 54.054,
    "l": 43.529
  },
  "oklch": {
    "l": 0.41751,
    "c": 0.18229,
    "h": 279.9
  },
  "luminance": 0.06398
}

Semantic roles & 50–950 ramp

primary
#4033AB
secondary
#BAC278
accent
#DD4ACD
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4033AB

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

Preview Lab → · Contrast checker → · Palette generator →

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