#4036B8#4036B8

#4036B8 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 43.4% C 0.195 H 277.9°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#4036B8
RGBrgb(64, 54, 184)
HSLhsl(245, 55%, 47%)
HSVhsv(245, 71%, 72%)
CMYKcmyk(65.2%, 70.7%, 0%, 27.8%)
CIE-LABlab(32.23, 43.51, -67.01)
CIE-LCHlch(32.23, 79.90, 303.00°)
OKLaboklab(43.44% 0.0269 -0.1934)
OKLCHoklch(43.44% 0.195 277.9)
XYZxyz(12.0825, 7.1880, 46.0888)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4036B8 #AEB836
analogous
#366DB8 #4036B8 #8136B8
triadic
#4036B8 #B84036 #36B840
tetradic
#4036B8 #B8366D #AEB836 #36B881
square
#4036B8 #B8366D #AEB836 #36B881
split-complementary
#4036B8 #B88136 #6DB836
monochromatic
#1F1A59 #302889 #4036B8 #655CCF #928BDD

Accessibility & contrast

On white

8.61
#4036B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#4036B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4036B8
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4036B8#FFFFFF#000000##FFFFFF
##4036B81.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BC
Deuteranopia (green-blind)
#0046B6
Tritanopia (blue-blind)
#005973
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4036b8;
/* rgb */ color: rgb(64, 54, 184);
/* oklch */ color: oklch(43.4% 0.195 277.9);
Tailwind
colors: {
  custom: {
    50: '#846fce',
    500: '#4036b8',
    950: '#000000',
  },
}
SCSS
$custom: #4036b8;
$custom-light: #846fce;
$custom-dark: #000000;
JSON
{
  "hex": "#4036b8",
  "rgb": {
    "r": 64,
    "g": 54,
    "b": 184
  },
  "hsl": {
    "h": 244.615,
    "s": 54.622,
    "l": 46.667
  },
  "oklch": {
    "l": 0.43436,
    "c": 0.19529,
    "h": 277.9
  },
  "luminance": 0.07189
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4036B8

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

Preview Lab → · Contrast checker → · Palette generator →

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