#4036A4#4036A4

#4036A4 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.6% C 0.170 H 280.1°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#4036A4
RGBrgb(64, 54, 164)
HSLhsl(245, 50%, 43%)
HSVhsv(245, 67%, 64%)
CMYKcmyk(61%, 67.1%, 0%, 35.7%)
CIE-LABlab(30.42, 37.00, -58.03)
CIE-LCHlch(30.42, 68.82, 302.52°)
OKLaboklab(41.58% 0.0298 -0.1671)
OKLCHoklch(41.58% 0.17 280.1)
XYZxyz(10.1322, 6.4079, 35.8177)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4036A4 #9AA436
analogous
#3663A4 #4036A4 #7736A4
triadic
#4036A4 #A44036 #36A440
tetradic
#4036A4 #A43663 #9AA436 #36A477
square
#4036A4 #A43663 #9AA436 #36A477
split-complementary
#4036A4 #A47736 #63A436
monochromatic
#1C1848 #2E2776 #4036A4 #5C51C6 #877FD5

Accessibility & contrast

On white

9.20
#4036A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#4036A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4036A4
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4036A4#FFFFFF#000000##FFFFFF
##4036A41.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA7
Deuteranopia (green-blind)
#0043A2
Tritanopia (blue-blind)
#005268
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4036a4;
/* rgb */ color: rgb(64, 54, 164);
/* oklch */ color: oklch(41.6% 0.170 280.1);
Tailwind
colors: {
  custom: {
    50: '#806ec0',
    500: '#4036a4',
    950: '#000000',
  },
}
SCSS
$custom: #4036a4;
$custom-light: #806ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#4036a4",
  "rgb": {
    "r": 64,
    "g": 54,
    "b": 164
  },
  "hsl": {
    "h": 245.455,
    "s": 50.459,
    "l": 42.745
  },
  "oklch": {
    "l": 0.41577,
    "c": 0.16977,
    "h": 280.1
  },
  "luminance": 0.06409
}

Semantic roles & 50–950 ramp

primary
#4036A4
secondary
#B8BE78
accent
#DA4ECD
background
#F8F6FB
surface
#EFECF7
border
#CAC7D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #4036A4

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

Preview Lab → · Contrast checker → · Palette generator →

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