#4033AC#4033AC

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

Color values

HEX#4033AC
RGBrgb(64, 51, 172)
HSLhsl(246, 54%, 44%)
HSVhsv(246, 70%, 67%)
CMYKcmyk(62.8%, 70.3%, 0%, 32.5%)
CIE-LABlab(30.49, 41.38, -62.73)
CIE-LCHlch(30.49, 75.15, 303.41°)
OKLaboklab(41.85% 0.0311 -0.1809)
OKLCHoklch(41.85% 0.184 279.7)
XYZxyz(10.7422, 6.4354, 39.6978)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4033AC #9FAC33
analogous
#3362AC #4033AC #7C33AC
triadic
#4033AC #AC4033 #33AC40
tetradic
#4033AC #AC3362 #9FAC33 #33AC7C
square
#4033AC #AC3362 #9FAC33 #33AC7C
split-complementary
#4033AC #AC7C33 #62AC33
monochromatic
#1D174E #2E257D #4033AC #5E51CB #8A80D9

Accessibility & contrast

On white

9.18
#4033AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#4033AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4033AC#FFFFFF#000000##FFFFFF
##4033AC1.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4033ac;
/* rgb */ color: rgb(64, 51, 172);
/* oklch */ color: oklch(41.8% 0.184 279.7);
Tailwind
colors: {
  custom: {
    50: '#826cc6',
    500: '#4033ac',
    950: '#000000',
  },
}
SCSS
$custom: #4033ac;
$custom-light: #826cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#4033ac",
  "rgb": {
    "r": 64,
    "g": 51,
    "b": 172
  },
  "hsl": {
    "h": 246.446,
    "s": 54.26,
    "l": 43.725
  },
  "oklch": {
    "l": 0.41845,
    "c": 0.18355,
    "h": 279.7
  },
  "luminance": 0.06436
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4033AC

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

Preview Lab → · Contrast checker → · Palette generator →

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