#4036CC#4036CC

#4036CC is a mid, highly saturated blue. Relative luminance 0.081; OKLCH L 45.4% C 0.220 H 276.1°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#4036CC
RGBrgb(64, 54, 204)
HSLhsl(244, 60%, 51%)
HSVhsv(244, 74%, 80%)
CMYKcmyk(68.6%, 73.5%, 0%, 20%)
CIE-LABlab(34.16, 49.89, -75.56)
CIE-LCHlch(34.16, 90.55, 303.44°)
OKLaboklab(45.39% 0.0232 -0.2184)
OKLCHoklch(45.39% 0.22 276.1)
XYZxyz(14.3290, 8.0866, 57.9208)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4036CC #C2CC36
analogous
#3677CC #4036CC #8B36CC
triadic
#4036CC #CC4036 #36CC40
tetradic
#4036CC #CC3677 #C2CC36 #36CC8B
square
#4036CC #CC3677 #C2CC36 #36CC8B
split-complementary
#4036CC #CC8B36 #77CC36
monochromatic
#211B6C #30289D #4036CC #6E67D8 #9D98E5

Accessibility & contrast

On white

8.02
#4036CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#4036CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4036CC
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4036CC#FFFFFF#000000##FFFFFF
##4036CC1.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057D0
Deuteranopia (green-blind)
#004AC9
Tritanopia (blue-blind)
#00617E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4036cc;
/* rgb */ color: rgb(64, 54, 204);
/* oklch */ color: oklch(45.4% 0.220 276.1);
Tailwind
colors: {
  custom: {
    50: '#886fdd',
    500: '#4036cc',
    950: '#000000',
  },
}
SCSS
$custom: #4036cc;
$custom-light: #886fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#4036cc",
  "rgb": {
    "r": 64,
    "g": 54,
    "b": 204
  },
  "hsl": {
    "h": 244,
    "s": 59.524,
    "l": 50.588
  },
  "oklch": {
    "l": 0.45393,
    "c": 0.21963,
    "h": 276.1
  },
  "luminance": 0.08088
}

Semantic roles & 50–950 ramp

primary
#4036CC
secondary
#CCD08E
accent
#E345D8
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #4036CC

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

Preview Lab → · Contrast checker → · Palette generator →

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