#4036BB#4036BB

#4036BB is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.7% C 0.199 H 277.6°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#4036BB
RGBrgb(64, 54, 187)
HSLhsl(245, 55%, 47%)
HSVhsv(245, 71%, 73%)
CMYKcmyk(65.8%, 71.1%, 0%, 26.7%)
CIE-LABlab(32.51, 44.48, -68.32)
CIE-LCHlch(32.51, 81.52, 303.07°)
OKLaboklab(43.72% 0.0264 -0.1972)
OKLCHoklch(43.72% 0.199 277.6)
XYZxyz(12.4003, 7.3151, 47.7626)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4036BB #B1BB36
analogous
#366FBB #4036BB #8236BB
triadic
#4036BB #BB4036 #36BB40
tetradic
#4036BB #BB366F #B1BB36 #36BB82
square
#4036BB #BB366F #B1BB36 #36BB82
split-complementary
#4036BB #BB8236 #6FBB36
monochromatic
#1F1B5C #30288C #4036BB #665ED0 #938DDE

Accessibility & contrast

On white

8.53
#4036BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#4036BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4036BB
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4036BB#FFFFFF#000000##FFFFFF
##4036BB1.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BF
Deuteranopia (green-blind)
#0047B9
Tritanopia (blue-blind)
#005B75
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4036bb;
/* rgb */ color: rgb(64, 54, 187);
/* oklch */ color: oklch(43.7% 0.199 277.6);
Tailwind
colors: {
  custom: {
    50: '#856fd1',
    500: '#4036bb',
    950: '#000000',
  },
}
SCSS
$custom: #4036bb;
$custom-light: #856fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#4036bb",
  "rgb": {
    "r": 64,
    "g": 54,
    "b": 187
  },
  "hsl": {
    "h": 244.511,
    "s": 55.187,
    "l": 47.255
  },
  "oklch": {
    "l": 0.43723,
    "c": 0.199,
    "h": 277.6
  },
  "luminance": 0.07316
}

Semantic roles & 50–950 ramp

primary
#4036BB
secondary
#C3C984
accent
#DF49D3
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #4036BB

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

Preview Lab → · Contrast checker → · Palette generator →

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