#4033C7#4033C7

#4033C7 is a dark, highly saturated blue. Relative luminance 0.076; OKLCH L 44.5% C 0.217 H 276.9°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#4033C7
RGBrgb(64, 51, 199)
HSLhsl(245, 59%, 49%)
HSVhsv(245, 74%, 78%)
CMYKcmyk(67.8%, 74.4%, 0%, 22%)
CIE-LABlab(33.09, 49.94, -74.41)
CIE-LCHlch(33.09, 89.62, 303.86°)
OKLaboklab(44.49% 0.0259 -0.215)
OKLCHoklch(44.49% 0.217 276.9)
XYZxyz(13.6036, 7.5800, 54.7679)
Luminance0.0758 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4033C7 #BAC733
analogous
#3370C7 #4033C7 #8A33C7
triadic
#4033C7 #C74033 #33C740
tetradic
#4033C7 #C73370 #BAC733 #33C78A
square
#4033C7 #C73370 #BAC733 #33C78A
split-complementary
#4033C7 #C78A33 #70C733
monochromatic
#211A66 #302796 #4033C7 #6B61D6 #9991E3

Accessibility & contrast

On white

8.35
#4033C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#4033C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4033C7
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4033C7#FFFFFF#000000##FFFFFF
##4033C71.008.352.528.35
#FFFFFF8.351.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054CB
Deuteranopia (green-blind)
#0047C4
Tritanopia (blue-blind)
#005E7B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4033c7;
/* rgb */ color: rgb(64, 51, 199);
/* oklch */ color: oklch(44.5% 0.217 276.9);
Tailwind
colors: {
  custom: {
    50: '#876dd9',
    500: '#4033c7',
    950: '#000000',
  },
}
SCSS
$custom: #4033c7;
$custom-light: #876dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#4033c7",
  "rgb": {
    "r": 64,
    "g": 51,
    "b": 199
  },
  "hsl": {
    "h": 245.27,
    "s": 59.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.44487,
    "c": 0.21658,
    "h": 276.9
  },
  "luminance": 0.07581
}

Semantic roles & 50–950 ramp

primary
#4033C7
secondary
#C8CE88
accent
#E245D5
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #4033C7

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

Preview Lab → · Contrast checker → · Palette generator →

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