#4033C2#4033C2

#4033C2 is a dark, highly saturated blue. Relative luminance 0.074; OKLCH L 44.0% C 0.211 H 277.3°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#4033C2
RGBrgb(64, 51, 194)
HSLhsl(245, 58%, 48%)
HSVhsv(245, 74%, 76%)
CMYKcmyk(67%, 73.7%, 0%, 23.9%)
CIE-LABlab(32.59, 48.37, -72.31)
CIE-LCHlch(32.59, 87.00, 303.78°)
OKLaboklab(43.99% 0.0269 -0.2089)
OKLCHoklch(43.99% 0.211 277.3)
XYZxyz(13.0326, 7.3516, 51.7607)
Luminance0.0735 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4033C2 #B5C233
analogous
#336DC2 #4033C2 #8833C2
triadic
#4033C2 #C24033 #33C240
tetradic
#4033C2 #C2336D #B5C233 #33C288
square
#4033C2 #C2336D #B5C233 #33C288
split-complementary
#4033C2 #C28833 #6DC233
monochromatic
#201A61 #302692 #4033C2 #685ED5 #968EE1

Accessibility & contrast

On white

8.50
#4033C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#4033C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4033C2
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4033C2#FFFFFF#000000##FFFFFF
##4033C21.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C6
Deuteranopia (green-blind)
#0047BF
Tritanopia (blue-blind)
#005C78
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4033c2;
/* rgb */ color: rgb(64, 51, 194);
/* oklch */ color: oklch(44.0% 0.211 277.3);
Tailwind
colors: {
  custom: {
    50: '#866dd6',
    500: '#4033c2',
    950: '#000000',
  },
}
SCSS
$custom: #4033c2;
$custom-light: #866dd6;
$custom-dark: #000000;
JSON
{
  "hex": "#4033c2",
  "rgb": {
    "r": 64,
    "g": 51,
    "b": 194
  },
  "hsl": {
    "h": 245.455,
    "s": 58.367,
    "l": 48.039
  },
  "oklch": {
    "l": 0.43985,
    "c": 0.2106,
    "h": 277.3
  },
  "luminance": 0.07353
}

Semantic roles & 50–950 ramp

primary
#4033C2
secondary
#C5CC85
accent
#E246D3
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4033C2

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

Preview Lab → · Contrast checker → · Palette generator →

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