#4036C1#4036C1

#4036C1 is a dark, highly saturated blue. Relative luminance 0.076; OKLCH L 44.3% C 0.206 H 277.0°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#4036C1
RGBrgb(64, 54, 193)
HSLhsl(244, 56%, 48%)
HSVhsv(244, 72%, 76%)
CMYKcmyk(66.8%, 72%, 0%, 24.3%)
CIE-LABlab(33.09, 46.40, -70.91)
CIE-LCHlch(33.09, 84.74, 303.20°)
OKLaboklab(44.31% 0.0253 -0.2048)
OKLCHoklch(44.31% 0.206 277)
XYZxyz(13.0560, 7.5774, 51.2163)
Luminance0.0758 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4036C1 #B7C136
analogous
#3671C1 #4036C1 #8536C1
triadic
#4036C1 #C14036 #36C140
tetradic
#4036C1 #C13671 #B7C136 #36C185
square
#4036C1 #C13671 #B7C136 #36C185
split-complementary
#4036C1 #C18536 #71C136
monochromatic
#201B61 #302991 #4036C1 #6961D3 #9791E0

Accessibility & contrast

On white

8.35
#4036C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4036C1
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4036C1#FFFFFF#000000##FFFFFF
##4036C11.008.352.528.35
#FFFFFF8.351.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C5
Deuteranopia (green-blind)
#0048BE
Tritanopia (blue-blind)
#005D78
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4036c1;
/* rgb */ color: rgb(64, 54, 193);
/* oklch */ color: oklch(44.3% 0.206 277.0);
Tailwind
colors: {
  custom: {
    50: '#866fd5',
    500: '#4036c1',
    950: '#000000',
  },
}
SCSS
$custom: #4036c1;
$custom-light: #866fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#4036c1",
  "rgb": {
    "r": 64,
    "g": 54,
    "b": 193
  },
  "hsl": {
    "h": 244.317,
    "s": 56.275,
    "l": 48.431
  },
  "oklch": {
    "l": 0.44306,
    "c": 0.20637,
    "h": 277
  },
  "luminance": 0.07579
}

Semantic roles & 50–950 ramp

primary
#4036C1
secondary
#C6CB88
accent
#E048D5
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0D0714
muted
#7D7A83

Preview Lab

Preview with #4036C1

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

Preview Lab → · Contrast checker → · Palette generator →

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