#4037BD#4037BD

#4037BD is a dark, highly saturated blue. Relative luminance 0.075; OKLCH L 44.1% C 0.200 H 277.3°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#4037BD
RGBrgb(64, 55, 189)
HSLhsl(244, 55%, 48%)
HSVhsv(244, 71%, 74%)
CMYKcmyk(66.1%, 70.9%, 0%, 25.9%)
CIE-LABlab(32.91, 44.55, -68.85)
CIE-LCHlch(32.91, 82.01, 302.91°)
OKLaboklab(44.06% 0.0253 -0.1988)
OKLCHoklch(44.06% 0.2 277.3)
XYZxyz(12.6629, 7.4954, 48.9137)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4037BD #B4BD37
analogous
#3771BD #4037BD #8337BD
triadic
#4037BD #BD4037 #37BD40
tetradic
#4037BD #BD3771 #B4BD37 #37BD83
square
#4037BD #BD3771 #B4BD37 #37BD83
split-complementary
#4037BD #BD8337 #71BD37
monochromatic
#201B5E #30298E #4037BD #6860D1 #9590DF

Accessibility & contrast

On white

8.40
#4037BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#4037BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4037BD
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4037BD#FFFFFF#000000##FFFFFF
##4037BD1.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C1
Deuteranopia (green-blind)
#0048BB
Tritanopia (blue-blind)
#005C76
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4037bd;
/* rgb */ color: rgb(64, 55, 189);
/* oklch */ color: oklch(44.1% 0.200 277.3);
Tailwind
colors: {
  custom: {
    50: '#856fd2',
    500: '#4037bd',
    950: '#000000',
  },
}
SCSS
$custom: #4037bd;
$custom-light: #856fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#4037bd",
  "rgb": {
    "r": 64,
    "g": 55,
    "b": 189
  },
  "hsl": {
    "h": 244.03,
    "s": 54.918,
    "l": 47.843
  },
  "oklch": {
    "l": 0.44063,
    "c": 0.20041,
    "h": 277.3
  },
  "luminance": 0.07496
}

Semantic roles & 50–950 ramp

primary
#4037BD
secondary
#C5C986
accent
#DE4AD4
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #4037BD

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

Preview Lab → · Contrast checker → · Palette generator →

#4037BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva