#4036C6#4036C6

#4036C6 is a dark, highly saturated blue. Relative luminance 0.078; OKLCH L 44.8% C 0.212 H 276.6°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#4036C6
RGBrgb(64, 54, 198)
HSLhsl(244, 57%, 49%)
HSVhsv(244, 73%, 78%)
CMYKcmyk(67.7%, 72.7%, 0%, 22.4%)
CIE-LABlab(33.57, 48.00, -73.04)
CIE-LCHlch(33.57, 87.40, 303.31°)
OKLaboklab(44.8% 0.0243 -0.211)
OKLCHoklch(44.8% 0.212 276.6)
XYZxyz(13.6232, 7.8043, 54.2036)
Luminance0.0781 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4036C6 #BCC636
analogous
#3674C6 #4036C6 #8836C6
triadic
#4036C6 #C64036 #36C640
tetradic
#4036C6 #C63674 #BCC636 #36C688
square
#4036C6 #C63674 #BCC636 #36C688
split-complementary
#4036C6 #C68836 #74C636
monochromatic
#211C66 #302996 #4036C6 #6C64D5 #9A94E2

Accessibility & contrast

On white

8.20
#4036C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#4036C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4036C6
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4036C6#FFFFFF#000000##FFFFFF
##4036C61.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055CA
Deuteranopia (green-blind)
#0049C3
Tritanopia (blue-blind)
#005F7B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4036c6;
/* rgb */ color: rgb(64, 54, 198);
/* oklch */ color: oklch(44.8% 0.212 276.6);
Tailwind
colors: {
  custom: {
    50: '#876fd9',
    500: '#4036c6',
    950: '#000000',
  },
}
SCSS
$custom: #4036c6;
$custom-light: #876fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#4036c6",
  "rgb": {
    "r": 64,
    "g": 54,
    "b": 198
  },
  "hsl": {
    "h": 244.167,
    "s": 57.143,
    "l": 49.412
  },
  "oklch": {
    "l": 0.44797,
    "c": 0.21244,
    "h": 276.6
  },
  "luminance": 0.07806
}

Semantic roles & 50–950 ramp

primary
#4036C6
secondary
#C9CD8B
accent
#E047D6
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #4036C6

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

Preview Lab → · Contrast checker → · Palette generator →

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