#4036C8#4036C8

#4036C8 is a dark, highly saturated blue. Relative luminance 0.079; OKLCH L 45.0% C 0.215 H 276.4°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#4036C8
RGBrgb(64, 54, 200)
HSLhsl(244, 57%, 50%)
HSVhsv(244, 73%, 78%)
CMYKcmyk(68%, 73%, 0%, 21.6%)
CIE-LABlab(33.77, 48.63, -73.89)
CIE-LCHlch(33.77, 88.45, 303.35°)
OKLaboklab(45% 0.024 -0.2135)
OKLCHoklch(45% 0.215 276.4)
XYZxyz(13.8554, 7.8972, 55.4265)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4036C8 #BEC836
analogous
#3675C8 #4036C8 #8936C8
triadic
#4036C8 #C84036 #36C840
tetradic
#4036C8 #C83675 #BEC836 #36C889
square
#4036C8 #C83675 #BEC836 #36C889
split-complementary
#4036C8 #C88936 #75C836
monochromatic
#211C68 #312998 #4036C8 #6D66D6 #9B96E3

Accessibility & contrast

On white

8.14
#4036C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#4036C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4036C8
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4036C8#FFFFFF#000000##FFFFFF
##4036C81.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CC
Deuteranopia (green-blind)
#0049C5
Tritanopia (blue-blind)
#005F7C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4036c8;
/* rgb */ color: rgb(64, 54, 200);
/* oklch */ color: oklch(45.0% 0.215 276.4);
Tailwind
colors: {
  custom: {
    50: '#876fda',
    500: '#4036c8',
    950: '#000000',
  },
}
SCSS
$custom: #4036c8;
$custom-light: #876fda;
$custom-dark: #000000;
JSON
{
  "hex": "#4036c8",
  "rgb": {
    "r": 64,
    "g": 54,
    "b": 200
  },
  "hsl": {
    "h": 244.11,
    "s": 57.48,
    "l": 49.804
  },
  "oklch": {
    "l": 0.44995,
    "c": 0.21484,
    "h": 276.4
  },
  "luminance": 0.07898
}

Semantic roles & 50–950 ramp

primary
#4036C8
secondary
#C9CE8C
accent
#E147D6
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #4036C8

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

Preview Lab → · Contrast checker → · Palette generator →

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