#4036B5#4036B5

#4036B5 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 43.1% C 0.192 H 278.2°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#4036B5
RGBrgb(64, 54, 181)
HSLhsl(245, 54%, 46%)
HSVhsv(245, 70%, 71%)
CMYKcmyk(64.6%, 70.2%, 0%, 29%)
CIE-LABlab(31.95, 42.54, -65.69)
CIE-LCHlch(31.95, 78.26, 302.93°)
OKLaboklab(43.15% 0.0274 -0.1896)
OKLCHoklch(43.15% 0.192 278.2)
XYZxyz(11.7713, 7.0636, 44.4502)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4036B5 #ABB536
analogous
#366BB5 #4036B5 #7F36B5
triadic
#4036B5 #B54036 #36B540
tetradic
#4036B5 #B5366B #ABB536 #36B57F
square
#4036B5 #B5366B #ABB536 #36B57F
split-complementary
#4036B5 #B57F36 #6BB536
monochromatic
#1F1A57 #2F2886 #4036B5 #635ACE #9089DC

Accessibility & contrast

On white

8.70
#4036B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#4036B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4036B5
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4036B5#FFFFFF#000000##FFFFFF
##4036B51.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4036b5;
/* rgb */ color: rgb(64, 54, 181);
/* oklch */ color: oklch(43.1% 0.192 278.2);
Tailwind
colors: {
  custom: {
    50: '#836ecc',
    500: '#4036b5',
    950: '#000000',
  },
}
SCSS
$custom: #4036b5;
$custom-light: #836ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#4036b5",
  "rgb": {
    "r": 64,
    "g": 54,
    "b": 181
  },
  "hsl": {
    "h": 244.724,
    "s": 54.043,
    "l": 46.078
  },
  "oklch": {
    "l": 0.4315,
    "c": 0.19154,
    "h": 278.2
  },
  "luminance": 0.07065
}

Semantic roles & 50–950 ramp

primary
#4036B5
secondary
#C1C681
accent
#DD4AD2
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #4036B5

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

Preview Lab → · Contrast checker → · Palette generator →

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