#4033C8#4033C8

#4033C8 is a dark, highly saturated blue. Relative luminance 0.076; OKLCH L 44.6% C 0.218 H 276.8°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#4033C8
RGBrgb(64, 51, 200)
HSLhsl(245, 59%, 49%)
HSVhsv(245, 75%, 78%)
CMYKcmyk(68%, 74.5%, 0%, 21.6%)
CIE-LABlab(33.19, 50.25, -74.83)
CIE-LCHlch(33.19, 90.14, 303.88°)
OKLaboklab(44.59% 0.0256 -0.2162)
OKLCHoklch(44.59% 0.218 276.8)
XYZxyz(13.7201, 7.6265, 55.3814)
Luminance0.0763 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4033C8 #BBC833
analogous
#3371C8 #4033C8 #8B33C8
triadic
#4033C8 #C84033 #33C840
tetradic
#4033C8 #C83371 #BBC833 #33C88B
square
#4033C8 #C83371 #BBC833 #33C88B
split-complementary
#4033C8 #C88B33 #71C833
monochromatic
#211A66 #302797 #4033C8 #6C61D7 #9992E3

Accessibility & contrast

On white

8.31
#4033C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#4033C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4033C8
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4033C8#FFFFFF#000000##FFFFFF
##4033C81.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054CC
Deuteranopia (green-blind)
#0048C5
Tritanopia (blue-blind)
#005E7B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4033c8;
/* rgb */ color: rgb(64, 51, 200);
/* oklch */ color: oklch(44.6% 0.218 276.8);
Tailwind
colors: {
  custom: {
    50: '#876dda',
    500: '#4033c8',
    950: '#000000',
  },
}
SCSS
$custom: #4033c8;
$custom-light: #876dda;
$custom-dark: #000000;
JSON
{
  "hex": "#4033c8",
  "rgb": {
    "r": 64,
    "g": 51,
    "b": 200
  },
  "hsl": {
    "h": 245.235,
    "s": 59.363,
    "l": 49.216
  },
  "oklch": {
    "l": 0.44587,
    "c": 0.21776,
    "h": 276.8
  },
  "luminance": 0.07628
}

Semantic roles & 50–950 ramp

primary
#4033C8
secondary
#C8CE89
accent
#E345D5
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #4033C8

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

Preview Lab → · Contrast checker → · Palette generator →

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