#4036B7#4036B7

#4036B7 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 43.3% C 0.194 H 278.0°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#4036B7
RGBrgb(64, 54, 183)
HSLhsl(245, 54%, 46%)
HSVhsv(245, 70%, 72%)
CMYKcmyk(65%, 70.5%, 0%, 28.2%)
CIE-LABlab(32.14, 43.19, -66.57)
CIE-LCHlch(32.14, 79.36, 302.97°)
OKLaboklab(43.34% 0.027 -0.1921)
OKLCHoklch(43.34% 0.194 278)
XYZxyz(11.9780, 7.1462, 45.5387)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4036B7 #ADB736
analogous
#366DB7 #4036B7 #8136B7
triadic
#4036B7 #B74036 #36B740
tetradic
#4036B7 #B7366D #ADB736 #36B781
square
#4036B7 #B7366D #ADB736 #36B781
split-complementary
#4036B7 #B78136 #6DB736
monochromatic
#1F1A58 #2F2888 #4036B7 #645BCF #918BDD

Accessibility & contrast

On white

8.64
#4036B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#4036B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4036B7
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4036B7#FFFFFF#000000##FFFFFF
##4036B71.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BB
Deuteranopia (green-blind)
#0046B5
Tritanopia (blue-blind)
#005972
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4036b7;
/* rgb */ color: rgb(64, 54, 183);
/* oklch */ color: oklch(43.3% 0.194 278.0);
Tailwind
colors: {
  custom: {
    50: '#846ece',
    500: '#4036b7',
    950: '#000000',
  },
}
SCSS
$custom: #4036b7;
$custom-light: #846ece;
$custom-dark: #000000;
JSON
{
  "hex": "#4036b7",
  "rgb": {
    "r": 64,
    "g": 54,
    "b": 183
  },
  "hsl": {
    "h": 244.651,
    "s": 54.43,
    "l": 46.471
  },
  "oklch": {
    "l": 0.4334,
    "c": 0.19404,
    "h": 278
  },
  "luminance": 0.07147
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4036B7

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

Preview Lab → · Contrast checker → · Palette generator →

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