#4036AE#4036AE

#4036AE is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.5% C 0.183 H 279.0°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#4036AE
RGBrgb(64, 54, 174)
HSLhsl(245, 53%, 45%)
HSVhsv(245, 69%, 68%)
CMYKcmyk(63.2%, 69%, 0%, 31.8%)
CIE-LABlab(31.31, 40.27, -62.58)
CIE-LCHlch(31.31, 74.41, 302.76°)
OKLaboklab(42.49% 0.0285 -0.1804)
OKLCHoklch(42.49% 0.183 279)
XYZxyz(11.0711, 6.7835, 40.7621)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4036AE #A4AE36
analogous
#3668AE #4036AE #7C36AE
triadic
#4036AE #AE4036 #36AE40
tetradic
#4036AE #AE3668 #A4AE36 #36AE7C
square
#4036AE #AE3668 #A4AE36 #36AE7C
split-complementary
#4036AE #AE7C36 #68AE36
monochromatic
#1E1951 #2F287F #4036AE #6056CB #8C85D9

Accessibility & contrast

On white

8.91
#4036AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#4036AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4036AE
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4036AE#FFFFFF#000000##FFFFFF
##4036AE1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB2
Deuteranopia (green-blind)
#0045AC
Tritanopia (blue-blind)
#00566D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4036ae;
/* rgb */ color: rgb(64, 54, 174);
/* oklch */ color: oklch(42.5% 0.183 279.0);
Tailwind
colors: {
  custom: {
    50: '#826ec7',
    500: '#4036ae',
    950: '#000000',
  },
}
SCSS
$custom: #4036ae;
$custom-light: #826ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#4036ae",
  "rgb": {
    "r": 64,
    "g": 54,
    "b": 174
  },
  "hsl": {
    "h": 245,
    "s": 52.632,
    "l": 44.706
  },
  "oklch": {
    "l": 0.42493,
    "c": 0.18268,
    "h": 279
  },
  "luminance": 0.06784
}

Semantic roles & 50–950 ramp

primary
#4036AE
secondary
#BDC37D
accent
#DC4CD0
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4036AE

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

Preview Lab → · Contrast checker → · Palette generator →

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