#4036D1#4036D1

#4036D1 is a mid, highly saturated blue. Relative luminance 0.083; OKLCH L 45.9% C 0.226 H 275.6°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#4036D1
RGBrgb(64, 54, 209)
HSLhsl(244, 63%, 52%)
HSVhsv(244, 74%, 82%)
CMYKcmyk(69.4%, 74.2%, 0%, 18%)
CIE-LABlab(34.66, 51.46, -77.64)
CIE-LCHlch(34.66, 93.15, 303.54°)
OKLaboklab(45.9% 0.0222 -0.2245)
OKLCHoklch(45.9% 0.226 275.6)
XYZxyz(14.9384, 8.3304, 61.1299)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4036D1 #C7D136
analogous
#367AD1 #4036D1 #8E36D1
triadic
#4036D1 #D14036 #36D140
tetradic
#4036D1 #D1367A #C7D136 #36D18E
square
#4036D1 #D1367A #C7D136 #36D18E
split-complementary
#4036D1 #D18E36 #7AD136
monochromatic
#201A72 #2E26A4 #4036D1 #6F68DC #9F9AE8

Accessibility & contrast

On white

7.88
#4036D1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#4036D1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4036D1
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4036D1#FFFFFF#000000##FFFFFF
##4036D11.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058D5
Deuteranopia (green-blind)
#004ACE
Tritanopia (blue-blind)
#006381
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4036d1;
/* rgb */ color: rgb(64, 54, 209);
/* oklch */ color: oklch(45.9% 0.226 275.6);
Tailwind
colors: {
  custom: {
    50: '#8970e0',
    500: '#4036d1',
    950: '#000000',
  },
}
SCSS
$custom: #4036d1;
$custom-light: #8970e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4036d1",
  "rgb": {
    "r": 64,
    "g": 54,
    "b": 209
  },
  "hsl": {
    "h": 243.871,
    "s": 62.753,
    "l": 51.569
  },
  "oklch": {
    "l": 0.45895,
    "c": 0.22555,
    "h": 275.6
  },
  "luminance": 0.08332
}

Semantic roles & 50–950 ramp

primary
#4036D1
secondary
#CFD38F
accent
#E642DB
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #4036D1

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

Preview Lab → · Contrast checker → · Palette generator →

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