#4036C3#4036C3

#4036C3 is a dark, highly saturated blue. Relative luminance 0.077; OKLCH L 44.5% C 0.209 H 276.9°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#4036C3
RGBrgb(64, 54, 195)
HSLhsl(244, 57%, 49%)
HSVhsv(244, 72%, 76%)
CMYKcmyk(67.2%, 72.3%, 0%, 23.5%)
CIE-LABlab(33.28, 47.04, -71.76)
CIE-LCHlch(33.28, 85.81, 303.24°)
OKLaboklab(44.5% 0.0249 -0.2073)
OKLCHoklch(44.5% 0.209 276.9)
XYZxyz(13.2806, 7.6673, 52.3992)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4036C3 #B9C336
analogous
#3673C3 #4036C3 #8736C3
triadic
#4036C3 #C34036 #36C340
tetradic
#4036C3 #C33673 #B9C336 #36C387
square
#4036C3 #C33673 #B9C336 #36C387
split-complementary
#4036C3 #C38736 #73C336
monochromatic
#211B63 #302993 #4036C3 #6B63D4 #9892E1

Accessibility & contrast

On white

8.29
#4036C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#4036C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4036C3
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4036C3#FFFFFF#000000##FFFFFF
##4036C31.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C7
Deuteranopia (green-blind)
#0048C0
Tritanopia (blue-blind)
#005E79
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4036c3;
/* rgb */ color: rgb(64, 54, 195);
/* oklch */ color: oklch(44.5% 0.209 276.9);
Tailwind
colors: {
  custom: {
    50: '#866fd6',
    500: '#4036c3',
    950: '#000000',
  },
}
SCSS
$custom: #4036c3;
$custom-light: #866fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#4036c3",
  "rgb": {
    "r": 64,
    "g": 54,
    "b": 195
  },
  "hsl": {
    "h": 244.255,
    "s": 56.627,
    "l": 48.824
  },
  "oklch": {
    "l": 0.44501,
    "c": 0.20881,
    "h": 276.9
  },
  "luminance": 0.07668
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4036C3

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

Preview Lab → · Contrast checker → · Palette generator →

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