#4036BC#4036BC

#4036BC is a dark, highly saturated blue. Relative luminance 0.074; OKLCH L 43.8% C 0.200 H 277.5°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#4036BC
RGBrgb(64, 54, 188)
HSLhsl(244, 55%, 47%)
HSVhsv(244, 71%, 74%)
CMYKcmyk(66%, 71.3%, 0%, 26.3%)
CIE-LABlab(32.61, 44.80, -68.75)
CIE-LCHlch(32.61, 82.06, 303.09°)
OKLaboklab(43.82% 0.0262 -0.1985)
OKLCHoklch(43.82% 0.2 277.5)
XYZxyz(12.5077, 7.3581, 48.3283)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4036BC #B2BC36
analogous
#366FBC #4036BC #8336BC
triadic
#4036BC #BC4036 #36BC40
tetradic
#4036BC #BC366F #B2BC36 #36BC83
square
#4036BC #BC366F #B2BC36 #36BC83
split-complementary
#4036BC #BC8336 #6FBC36
monochromatic
#201B5D #30288C #4036BC #675ED1 #948EDF

Accessibility & contrast

On white

8.50
#4036BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#4036BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4036BC
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4036BC#FFFFFF#000000##FFFFFF
##4036BC1.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C0
Deuteranopia (green-blind)
#0047BA
Tritanopia (blue-blind)
#005B75
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4036bc;
/* rgb */ color: rgb(64, 54, 188);
/* oklch */ color: oklch(43.8% 0.200 277.5);
Tailwind
colors: {
  custom: {
    50: '#856fd1',
    500: '#4036bc',
    950: '#000000',
  },
}
SCSS
$custom: #4036bc;
$custom-light: #856fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#4036bc",
  "rgb": {
    "r": 64,
    "g": 54,
    "b": 188
  },
  "hsl": {
    "h": 244.478,
    "s": 55.372,
    "l": 47.451
  },
  "oklch": {
    "l": 0.4382,
    "c": 0.20024,
    "h": 277.5
  },
  "luminance": 0.07359
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4036BC

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

Preview Lab → · Contrast checker → · Palette generator →

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