#4037BB#4037BB

#4037BB is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.9% C 0.198 H 277.5°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#4037BB
RGBrgb(64, 55, 187)
HSLhsl(244, 55%, 47%)
HSVhsv(244, 71%, 73%)
CMYKcmyk(65.8%, 70.6%, 0%, 26.7%)
CIE-LABlab(32.72, 43.91, -67.98)
CIE-LCHlch(32.72, 80.93, 302.86°)
OKLaboklab(43.87% 0.0257 -0.1963)
OKLCHoklch(43.87% 0.198 277.5)
XYZxyz(12.4473, 7.4092, 47.7782)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4037BB #B2BB37
analogous
#3770BB #4037BB #8237BB
triadic
#4037BB #BB4037 #37BB40
tetradic
#4037BB #BB3770 #B2BB37 #37BB82
square
#4037BB #BB3770 #B2BB37 #37BB82
split-complementary
#4037BB #BB8237 #70BB37
monochromatic
#201B5C #30298C #4037BB #675FD0 #948EDE

Accessibility & contrast

On white

8.46
#4037BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#4037BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4037BB
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4037BB#FFFFFF#000000##FFFFFF
##4037BB1.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BF
Deuteranopia (green-blind)
#0047B9
Tritanopia (blue-blind)
#005B75
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4037bb;
/* rgb */ color: rgb(64, 55, 187);
/* oklch */ color: oklch(43.9% 0.198 277.5);
Tailwind
colors: {
  custom: {
    50: '#856fd1',
    500: '#4037bb',
    950: '#000000',
  },
}
SCSS
$custom: #4037bb;
$custom-light: #856fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#4037bb",
  "rgb": {
    "r": 64,
    "g": 55,
    "b": 187
  },
  "hsl": {
    "h": 244.091,
    "s": 54.545,
    "l": 47.451
  },
  "oklch": {
    "l": 0.43872,
    "c": 0.19793,
    "h": 277.5
  },
  "luminance": 0.0741
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4037BB

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

Preview Lab → · Contrast checker → · Palette generator →

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