#4036C4#4036C4

#4036C4 is a dark, highly saturated blue. Relative luminance 0.077; OKLCH L 44.6% C 0.210 H 276.8°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#4036C4
RGBrgb(64, 54, 196)
HSLhsl(244, 57%, 49%)
HSVhsv(244, 72%, 77%)
CMYKcmyk(67.3%, 72.4%, 0%, 23.1%)
CIE-LABlab(33.38, 47.36, -72.19)
CIE-LCHlch(33.38, 86.34, 303.27°)
OKLaboklab(44.6% 0.0247 -0.2086)
OKLCHoklch(44.6% 0.21 276.8)
XYZxyz(13.3941, 7.7127, 52.9967)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4036C4 #BAC436
analogous
#3673C4 #4036C4 #8736C4
triadic
#4036C4 #C44036 #36C440
tetradic
#4036C4 #C43673 #BAC436 #36C487
square
#4036C4 #C43673 #BAC436 #36C487
split-complementary
#4036C4 #C48736 #73C436
monochromatic
#211C64 #302994 #4036C4 #6B63D4 #9993E1

Accessibility & contrast

On white

8.26
#4036C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#4036C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4036C4
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4036C4#FFFFFF#000000##FFFFFF
##4036C41.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C8
Deuteranopia (green-blind)
#0048C1
Tritanopia (blue-blind)
#005E7A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4036c4;
/* rgb */ color: rgb(64, 54, 196);
/* oklch */ color: oklch(44.6% 0.210 276.8);
Tailwind
colors: {
  custom: {
    50: '#866fd7',
    500: '#4036c4',
    950: '#000000',
  },
}
SCSS
$custom: #4036c4;
$custom-light: #866fd7;
$custom-dark: #000000;
JSON
{
  "hex": "#4036c4",
  "rgb": {
    "r": 64,
    "g": 54,
    "b": 196
  },
  "hsl": {
    "h": 244.225,
    "s": 56.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.446,
    "c": 0.21002,
    "h": 276.8
  },
  "luminance": 0.07714
}

Semantic roles & 50–950 ramp

primary
#4036C4
secondary
#C8CC89
accent
#E048D5
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #4036C4

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

Preview Lab → · Contrast checker → · Palette generator →

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