#4036C5#4036C5

#4036C5 is a dark, highly saturated blue. Relative luminance 0.078; OKLCH L 44.7% C 0.211 H 276.7°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#4036C5
RGBrgb(64, 54, 197)
HSLhsl(244, 57%, 49%)
HSVhsv(244, 73%, 77%)
CMYKcmyk(67.5%, 72.6%, 0%, 22.7%)
CIE-LABlab(33.47, 47.68, -72.62)
CIE-LCHlch(33.47, 86.87, 303.29°)
OKLaboklab(44.7% 0.0245 -0.2098)
OKLCHoklch(44.7% 0.211 276.7)
XYZxyz(13.5083, 7.7583, 53.5981)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4036C5 #BBC536
analogous
#3674C5 #4036C5 #8836C5
triadic
#4036C5 #C54036 #36C540
tetradic
#4036C5 #C53674 #BBC536 #36C588
square
#4036C5 #C53674 #BBC536 #36C588
split-complementary
#4036C5 #C58836 #74C536
monochromatic
#211C65 #302995 #4036C5 #6C64D4 #9994E2

Accessibility & contrast

On white

8.23
#4036C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#4036C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4036C5
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4036C5#FFFFFF#000000##FFFFFF
##4036C51.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C9
Deuteranopia (green-blind)
#0048C2
Tritanopia (blue-blind)
#005E7A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4036c5;
/* rgb */ color: rgb(64, 54, 197);
/* oklch */ color: oklch(44.7% 0.211 276.7);
Tailwind
colors: {
  custom: {
    50: '#876fd8',
    500: '#4036c5',
    950: '#000000',
  },
}
SCSS
$custom: #4036c5;
$custom-light: #876fd8;
$custom-dark: #000000;
JSON
{
  "hex": "#4036c5",
  "rgb": {
    "r": 64,
    "g": 54,
    "b": 197
  },
  "hsl": {
    "h": 244.196,
    "s": 56.972,
    "l": 49.216
  },
  "oklch": {
    "l": 0.44698,
    "c": 0.21123,
    "h": 276.7
  },
  "luminance": 0.0776
}

Semantic roles & 50–950 ramp

primary
#4036C5
secondary
#C8CD8A
accent
#E048D6
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #4036C5

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

Preview Lab → · Contrast checker → · Palette generator →

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