#4033A1#4033A1

#4033A1 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.8% C 0.169 H 281.2°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#4033A1
RGBrgb(64, 51, 161)
HSLhsl(247, 52%, 42%)
HSVhsv(247, 68%, 63%)
CMYKcmyk(60.2%, 68.3%, 0%, 36.9%)
CIE-LABlab(29.49, 37.82, -57.74)
CIE-LCHlch(29.49, 69.02, 303.23°)
OKLaboklab(40.82% 0.0328 -0.1663)
OKLCHoklch(40.82% 0.169 281.2)
XYZxyz(9.7292, 6.0302, 34.3626)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4033A1 #94A133
analogous
#335DA1 #4033A1 #7733A1
triadic
#4033A1 #A14033 #33A140
tetradic
#4033A1 #A1335D #94A133 #33A177
square
#4033A1 #A1335D #94A133 #33A177
split-complementary
#4033A1 #A17733 #5DA133
monochromatic
#1B1644 #2E2473 #4033A1 #5A4BC6 #847AD5

Accessibility & contrast

On white

9.52
#4033A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#4033A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4033A1#FFFFFF#000000##FFFFFF
##4033A11.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A4
Deuteranopia (green-blind)
#00419F
Tritanopia (blue-blind)
#005065
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4033a1;
/* rgb */ color: rgb(64, 51, 161);
/* oklch */ color: oklch(40.8% 0.169 281.2);
Tailwind
colors: {
  custom: {
    50: '#806cbe',
    500: '#4033a1',
    950: '#000000',
  },
}
SCSS
$custom: #4033a1;
$custom-light: #806cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#4033a1",
  "rgb": {
    "r": 64,
    "g": 51,
    "b": 161
  },
  "hsl": {
    "h": 247.091,
    "s": 51.887,
    "l": 41.569
  },
  "oklch": {
    "l": 0.40824,
    "c": 0.16949,
    "h": 281.2
  },
  "luminance": 0.06031
}

Semantic roles & 50–950 ramp

primary
#4033A1
secondary
#B4BD72
accent
#DB4CCA
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #4033A1

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

Preview Lab → · Contrast checker → · Palette generator →

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