#4036B9#4036B9

#4036B9 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 43.5% C 0.197 H 277.8°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#4036B9
RGBrgb(64, 54, 185)
HSLhsl(245, 55%, 47%)
HSVhsv(245, 71%, 73%)
CMYKcmyk(65.4%, 70.8%, 0%, 27.5%)
CIE-LABlab(32.33, 43.84, -67.45)
CIE-LCHlch(32.33, 80.44, 303.02°)
OKLaboklab(43.53% 0.0267 -0.1947)
OKLCHoklch(43.53% 0.197 277.8)
XYZxyz(12.1876, 7.2301, 46.6428)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4036B9 #AFB936
analogous
#366EB9 #4036B9 #8236B9
triadic
#4036B9 #B94036 #36B940
tetradic
#4036B9 #B9366E #AFB936 #36B982
square
#4036B9 #B9366E #AFB936 #36B982
split-complementary
#4036B9 #B98236 #6EB936
monochromatic
#1F1A5A #30288A #4036B9 #655DD0 #928CDD

Accessibility & contrast

On white

8.58
#4036B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4036B9
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4036B9#FFFFFF#000000##FFFFFF
##4036B91.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BD
Deuteranopia (green-blind)
#0047B7
Tritanopia (blue-blind)
#005A74
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4036b9;
/* rgb */ color: rgb(64, 54, 185);
/* oklch */ color: oklch(43.5% 0.197 277.8);
Tailwind
colors: {
  custom: {
    50: '#846fcf',
    500: '#4036b9',
    950: '#000000',
  },
}
SCSS
$custom: #4036b9;
$custom-light: #846fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#4036b9",
  "rgb": {
    "r": 64,
    "g": 54,
    "b": 185
  },
  "hsl": {
    "h": 244.58,
    "s": 54.812,
    "l": 46.863
  },
  "oklch": {
    "l": 0.43531,
    "c": 0.19653,
    "h": 277.8
  },
  "luminance": 0.07231
}

Semantic roles & 50–950 ramp

primary
#4036B9
secondary
#C3C883
accent
#DE4AD3
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #4036B9

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

Preview Lab → · Contrast checker → · Palette generator →

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