#4036BE#4036BE

#4036BE is a dark, highly saturated blue. Relative luminance 0.074; OKLCH L 44.0% C 0.203 H 277.3°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#4036BE
RGBrgb(64, 54, 190)
HSLhsl(244, 56%, 48%)
HSVhsv(244, 72%, 75%)
CMYKcmyk(66.3%, 71.6%, 0%, 25.5%)
CIE-LABlab(32.80, 45.44, -69.62)
CIE-LCHlch(32.80, 83.14, 303.13°)
OKLaboklab(44.01% 0.0258 -0.201)
OKLCHoklch(44.01% 0.203 277.3)
XYZxyz(12.7248, 7.4449, 49.4717)
Luminance0.0745 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4036BE #B4BE36
analogous
#3670BE #4036BE #8436BE
triadic
#4036BE #BE4036 #36BE40
tetradic
#4036BE #BE3670 #B4BE36 #36BE84
square
#4036BE #BE3670 #B4BE36 #36BE84
split-complementary
#4036BE #BE8436 #70BE36
monochromatic
#201B5F #30288E #4036BE #6860D2 #958FDF

Accessibility & contrast

On white

8.44
#4036BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#4036BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4036BE
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4036BE#FFFFFF#000000##FFFFFF
##4036BE1.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C2
Deuteranopia (green-blind)
#0047BB
Tritanopia (blue-blind)
#005C76
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4036be;
/* rgb */ color: rgb(64, 54, 190);
/* oklch */ color: oklch(44.0% 0.203 277.3);
Tailwind
colors: {
  custom: {
    50: '#856fd3',
    500: '#4036be',
    950: '#000000',
  },
}
SCSS
$custom: #4036be;
$custom-light: #856fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#4036be",
  "rgb": {
    "r": 64,
    "g": 54,
    "b": 190
  },
  "hsl": {
    "h": 244.412,
    "s": 55.738,
    "l": 47.843
  },
  "oklch": {
    "l": 0.44014,
    "c": 0.2027,
    "h": 277.3
  },
  "luminance": 0.07446
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4036BE

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

Preview Lab → · Contrast checker → · Palette generator →

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