#4036AC#4036AC

#4036AC is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.3% C 0.180 H 279.2°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#4036AC
RGBrgb(64, 54, 172)
HSLhsl(245, 52%, 44%)
HSVhsv(245, 69%, 67%)
CMYKcmyk(62.8%, 68.6%, 0%, 32.5%)
CIE-LABlab(31.13, 39.62, -61.68)
CIE-LCHlch(31.13, 73.30, 302.71°)
OKLaboklab(42.31% 0.0288 -0.1778)
OKLCHoklch(42.31% 0.18 279.2)
XYZxyz(10.8775, 6.7060, 39.7429)
Luminance0.0671 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4036AC #A2AC36
analogous
#3667AC #4036AC #7B36AC
triadic
#4036AC #AC4036 #36AC40
tetradic
#4036AC #AC3667 #A2AC36 #36AC7B
square
#4036AC #AC3667 #A2AC36 #36AC7B
split-complementary
#4036AC #AC7B36 #67AC36
monochromatic
#1D194F #2F277D #4036AC #5F55CA #8B84D8

Accessibility & contrast

On white

8.97
#4036AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#4036AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4036AC
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4036AC#FFFFFF#000000##FFFFFF
##4036AC1.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB0
Deuteranopia (green-blind)
#0045AA
Tritanopia (blue-blind)
#00556C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4036ac;
/* rgb */ color: rgb(64, 54, 172);
/* oklch */ color: oklch(42.3% 0.180 279.2);
Tailwind
colors: {
  custom: {
    50: '#826ec6',
    500: '#4036ac',
    950: '#000000',
  },
}
SCSS
$custom: #4036ac;
$custom-light: #826ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#4036ac",
  "rgb": {
    "r": 64,
    "g": 54,
    "b": 172
  },
  "hsl": {
    "h": 245.085,
    "s": 52.212,
    "l": 44.314
  },
  "oklch": {
    "l": 0.42307,
    "c": 0.18013,
    "h": 279.2
  },
  "luminance": 0.06707
}

Semantic roles & 50–950 ramp

primary
#4036AC
secondary
#BCC27C
accent
#DC4CCF
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4036AC

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

Preview Lab → · Contrast checker → · Palette generator →

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