#4036D9#4036D9

#4036D9 is a mid, highly saturated blue. Relative luminance 0.087; OKLCH L 46.7% C 0.235 H 275.0°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#4036D9
RGBrgb(64, 54, 217)
HSLhsl(244, 68%, 53%)
HSVhsv(244, 75%, 85%)
CMYKcmyk(70.5%, 75.1%, 0%, 14.9%)
CIE-LABlab(35.47, 53.95, -80.92)
CIE-LCHlch(35.47, 97.26, 303.69°)
OKLaboklab(46.71% 0.0205 -0.234)
OKLCHoklch(46.71% 0.235 275)
XYZxyz(15.9538, 8.7365, 66.4777)
Luminance0.0874 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4036D9 #CFD936
analogous
#367DD9 #4036D9 #9136D9
triadic
#4036D9 #D94036 #36D940
tetradic
#4036D9 #D9367D #CFD936 #36D991
square
#4036D9 #D9367D #CFD936 #36D991
split-complementary
#4036D9 #D99136 #7DD936
monochromatic
#1E187D #2A21B0 #4036D9 #7169E3 #A29DEC

Accessibility & contrast

On white

7.64
#4036D9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#4036D9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4036D9
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4036D9#FFFFFF#000000##FFFFFF
##4036D91.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BDE
Deuteranopia (green-blind)
#004CD6
Tritanopia (blue-blind)
#006686
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4036d9;
/* rgb */ color: rgb(64, 54, 217);
/* oklch */ color: oklch(46.7% 0.235 275.0);
Tailwind
colors: {
  custom: {
    50: '#8b70e6',
    500: '#4036d9',
    950: '#000000',
  },
}
SCSS
$custom: #4036d9;
$custom-light: #8b70e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4036d9",
  "rgb": {
    "r": 64,
    "g": 54,
    "b": 217
  },
  "hsl": {
    "h": 243.681,
    "s": 68.201,
    "l": 53.137
  },
  "oklch": {
    "l": 0.46708,
    "c": 0.23491,
    "h": 275
  },
  "luminance": 0.08738
}

Semantic roles & 50–950 ramp

primary
#4036D9
secondary
#D4D992
accent
#EB3DE0
background
#F9F6FE
surface
#F2ECFD
border
#CCC7D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #4036D9

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

Preview Lab → · Contrast checker → · Palette generator →

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