#4036B4#4036B4

#4036B4 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 43.1% C 0.190 H 278.3°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#4036B4
RGBrgb(64, 54, 180)
HSLhsl(245, 54%, 46%)
HSVhsv(245, 70%, 71%)
CMYKcmyk(64.4%, 70%, 0%, 29.4%)
CIE-LABlab(31.86, 42.22, -65.25)
CIE-LCHlch(31.86, 77.72, 302.90°)
OKLaboklab(43.06% 0.0275 -0.1883)
OKLCHoklch(43.06% 0.19 278.3)
XYZxyz(11.6691, 7.0227, 43.9117)
Luminance0.0702 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4036B4 #AAB436
analogous
#366BB4 #4036B4 #7F36B4
triadic
#4036B4 #B44036 #36B440
tetradic
#4036B4 #B4366B #AAB436 #36B47F
square
#4036B4 #B4366B #AAB436 #36B47F
split-complementary
#4036B4 #B47F36 #6BB436
monochromatic
#1F1A56 #2F2885 #4036B4 #635ACD #8F89DC

Accessibility & contrast

On white

8.73
#4036B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#4036B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4036B4
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4036B4#FFFFFF#000000##FFFFFF
##4036B41.008.732.408.73
#FFFFFF8.731.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B8
Deuteranopia (green-blind)
#0046B2
Tritanopia (blue-blind)
#005871
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4036b4;
/* rgb */ color: rgb(64, 54, 180);
/* oklch */ color: oklch(43.1% 0.190 278.3);
Tailwind
colors: {
  custom: {
    50: '#836ecc',
    500: '#4036b4',
    950: '#000000',
  },
}
SCSS
$custom: #4036b4;
$custom-light: #836ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#4036b4",
  "rgb": {
    "r": 64,
    "g": 54,
    "b": 180
  },
  "hsl": {
    "h": 244.762,
    "s": 53.846,
    "l": 45.882
  },
  "oklch": {
    "l": 0.43055,
    "c": 0.19028,
    "h": 278.3
  },
  "luminance": 0.07024
}

Semantic roles & 50–950 ramp

primary
#4036B4
secondary
#C0C680
accent
#DD4BD2
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4036B4

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

Preview Lab → · Contrast checker → · Palette generator →

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