#4036BA#4036BA

#4036BA is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.6% C 0.198 H 277.7°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#4036BA
RGBrgb(64, 54, 186)
HSLhsl(245, 55%, 47%)
HSVhsv(245, 71%, 73%)
CMYKcmyk(65.6%, 71%, 0%, 27.1%)
CIE-LABlab(32.42, 44.16, -67.88)
CIE-LCHlch(32.42, 80.98, 303.04°)
OKLaboklab(43.63% 0.0265 -0.196)
OKLCHoklch(43.63% 0.198 277.7)
XYZxyz(12.2936, 7.2725, 47.2007)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4036BA #B0BA36
analogous
#366EBA #4036BA #8236BA
triadic
#4036BA #BA4036 #36BA40
tetradic
#4036BA #BA366E #B0BA36 #36BA82
square
#4036BA #BA366E #B0BA36 #36BA82
split-complementary
#4036BA #BA8236 #6EBA36
monochromatic
#1F1A5B #30288B #4036BA #665DD0 #938DDE

Accessibility & contrast

On white

8.56
#4036BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#4036BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4036BA
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4036BA#FFFFFF#000000##FFFFFF
##4036BA1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BE
Deuteranopia (green-blind)
#0047B8
Tritanopia (blue-blind)
#005A74
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4036ba;
/* rgb */ color: rgb(64, 54, 186);
/* oklch */ color: oklch(43.6% 0.198 277.7);
Tailwind
colors: {
  custom: {
    50: '#846fd0',
    500: '#4036ba',
    950: '#000000',
  },
}
SCSS
$custom: #4036ba;
$custom-light: #846fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#4036ba",
  "rgb": {
    "r": 64,
    "g": 54,
    "b": 186
  },
  "hsl": {
    "h": 244.545,
    "s": 55,
    "l": 47.059
  },
  "oklch": {
    "l": 0.43627,
    "c": 0.19777,
    "h": 277.7
  },
  "luminance": 0.07273
}

Semantic roles & 50–950 ramp

primary
#4036BA
secondary
#C3C884
accent
#DE49D3
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #4036BA

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

Preview Lab → · Contrast checker → · Palette generator →

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