#4036C0#4036C0

#4036C0 is a dark, highly saturated blue. Relative luminance 0.075; OKLCH L 44.2% C 0.205 H 277.1°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#4036C0
RGBrgb(64, 54, 192)
HSLhsl(244, 56%, 48%)
HSVhsv(244, 72%, 75%)
CMYKcmyk(66.7%, 71.9%, 0%, 24.7%)
CIE-LABlab(32.99, 46.08, -70.48)
CIE-LCHlch(32.99, 84.21, 303.18°)
OKLaboklab(44.21% 0.0255 -0.2036)
OKLCHoklch(44.21% 0.205 277.1)
XYZxyz(12.9449, 7.5330, 50.6308)
Luminance0.0753 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4036C0 #B6C036
analogous
#3671C0 #4036C0 #8536C0
triadic
#4036C0 #C04036 #36C040
tetradic
#4036C0 #C03671 #B6C036 #36C085
square
#4036C0 #C03671 #B6C036 #36C085
split-complementary
#4036C0 #C08536 #71C036
monochromatic
#201B60 #302990 #4036C0 #6961D2 #9690E0

Accessibility & contrast

On white

8.38
#4036C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#4036C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4036C0
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4036C0#FFFFFF#000000##FFFFFF
##4036C01.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C4
Deuteranopia (green-blind)
#0048BD
Tritanopia (blue-blind)
#005C77
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4036c0;
/* rgb */ color: rgb(64, 54, 192);
/* oklch */ color: oklch(44.2% 0.205 277.1);
Tailwind
colors: {
  custom: {
    50: '#866fd4',
    500: '#4036c0',
    950: '#000000',
  },
}
SCSS
$custom: #4036c0;
$custom-light: #866fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#4036c0",
  "rgb": {
    "r": 64,
    "g": 54,
    "b": 192
  },
  "hsl": {
    "h": 244.348,
    "s": 56.098,
    "l": 48.235
  },
  "oklch": {
    "l": 0.44208,
    "c": 0.20516,
    "h": 277.1
  },
  "luminance": 0.07534
}

Semantic roles & 50–950 ramp

primary
#4036C0
secondary
#C6CB87
accent
#DF48D4
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0D0714
muted
#7D7A83

Preview Lab

Preview with #4036C0

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

Preview Lab → · Contrast checker → · Palette generator →

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