#4036C2#4036C2

#4036C2 is a dark, highly saturated blue. Relative luminance 0.076; OKLCH L 44.4% C 0.208 H 276.9°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#4036C2
RGBrgb(64, 54, 194)
HSLhsl(244, 56%, 49%)
HSVhsv(244, 72%, 76%)
CMYKcmyk(67%, 72.2%, 0%, 23.9%)
CIE-LABlab(33.18, 46.72, -71.34)
CIE-LCHlch(33.18, 85.28, 303.22°)
OKLaboklab(44.4% 0.0251 -0.2061)
OKLCHoklch(44.4% 0.208 276.9)
XYZxyz(13.1680, 7.6222, 51.8058)
Luminance0.0762 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4036C2 #B8C236
analogous
#3672C2 #4036C2 #8636C2
triadic
#4036C2 #C24036 #36C240
tetradic
#4036C2 #C23672 #B8C236 #36C286
square
#4036C2 #C23672 #B8C236 #36C286
split-complementary
#4036C2 #C28636 #72C236
monochromatic
#201B62 #302992 #4036C2 #6A62D3 #9792E1

Accessibility & contrast

On white

8.32
#4036C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#4036C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4036C2
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4036C2#FFFFFF#000000##FFFFFF
##4036C21.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C6
Deuteranopia (green-blind)
#0048BF
Tritanopia (blue-blind)
#005D79
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4036c2;
/* rgb */ color: rgb(64, 54, 194);
/* oklch */ color: oklch(44.4% 0.208 276.9);
Tailwind
colors: {
  custom: {
    50: '#866fd6',
    500: '#4036c2',
    950: '#000000',
  },
}
SCSS
$custom: #4036c2;
$custom-light: #866fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#4036c2",
  "rgb": {
    "r": 64,
    "g": 54,
    "b": 194
  },
  "hsl": {
    "h": 244.286,
    "s": 56.452,
    "l": 48.627
  },
  "oklch": {
    "l": 0.44403,
    "c": 0.20759,
    "h": 276.9
  },
  "luminance": 0.07623
}

Semantic roles & 50–950 ramp

primary
#4036C2
secondary
#C7CC88
accent
#E048D5
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4036C2

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

Preview Lab → · Contrast checker → · Palette generator →

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