#4036BD#4036BD

#4036BD is a dark, highly saturated blue. Relative luminance 0.074; OKLCH L 43.9% C 0.201 H 277.4°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#4036BD
RGBrgb(64, 54, 189)
HSLhsl(244, 56%, 48%)
HSVhsv(244, 71%, 74%)
CMYKcmyk(66.1%, 71.4%, 0%, 25.9%)
CIE-LABlab(32.70, 45.12, -69.19)
CIE-LCHlch(32.70, 82.60, 303.11°)
OKLaboklab(43.92% 0.026 -0.1998)
OKLCHoklch(43.92% 0.201 277.4)
XYZxyz(12.6158, 7.4014, 48.8980)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4036BD #B3BD36
analogous
#3670BD #4036BD #8336BD
triadic
#4036BD #BD4036 #36BD40
tetradic
#4036BD #BD3670 #B3BD36 #36BD83
square
#4036BD #BD3670 #B3BD36 #36BD83
split-complementary
#4036BD #BD8336 #70BD36
monochromatic
#201B5E #30288D #4036BD #675FD1 #948FDF

Accessibility & contrast

On white

8.47
#4036BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#4036BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4036BD
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4036BD#FFFFFF#000000##FFFFFF
##4036BD1.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C1
Deuteranopia (green-blind)
#0047BB
Tritanopia (blue-blind)
#005B76
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4036bd;
/* rgb */ color: rgb(64, 54, 189);
/* oklch */ color: oklch(43.9% 0.201 277.4);
Tailwind
colors: {
  custom: {
    50: '#856fd2',
    500: '#4036bd',
    950: '#000000',
  },
}
SCSS
$custom: #4036bd;
$custom-light: #856fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#4036bd",
  "rgb": {
    "r": 64,
    "g": 54,
    "b": 189
  },
  "hsl": {
    "h": 244.444,
    "s": 55.556,
    "l": 47.647
  },
  "oklch": {
    "l": 0.43917,
    "c": 0.20147,
    "h": 277.4
  },
  "luminance": 0.07402
}

Semantic roles & 50–950 ramp

primary
#4036BD
secondary
#C4C985
accent
#DF49D4
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #4036BD

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

Preview Lab → · Contrast checker → · Palette generator →

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