#4037BE#4037BE

#4037BE is a dark, highly saturated blue. Relative luminance 0.075; OKLCH L 44.2% C 0.202 H 277.2°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#4037BE
RGBrgb(64, 55, 190)
HSLhsl(244, 55%, 48%)
HSVhsv(244, 71%, 75%)
CMYKcmyk(66.3%, 71.1%, 0%, 25.5%)
CIE-LABlab(33.00, 44.88, -69.28)
CIE-LCHlch(33.00, 82.55, 302.93°)
OKLaboklab(44.16% 0.0252 -0.2001)
OKLCHoklch(44.16% 0.202 277.2)
XYZxyz(12.7718, 7.5390, 49.4873)
Luminance0.0754 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4037BE #B5BE37
analogous
#3771BE #4037BE #8337BE
triadic
#4037BE #BE4037 #37BE40
tetradic
#4037BE #BE3771 #B5BE37 #37BE83
square
#4037BE #BE3771 #B5BE37 #37BE83
split-complementary
#4037BE #BE8337 #71BE37
monochromatic
#201C5F #30298F #4037BE #6861D1 #9690DF

Accessibility & contrast

On white

8.37
#4037BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#4037BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4037BE
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4037BE#FFFFFF#000000##FFFFFF
##4037BE1.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C2
Deuteranopia (green-blind)
#0048BC
Tritanopia (blue-blind)
#005C77
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4037be;
/* rgb */ color: rgb(64, 55, 190);
/* oklch */ color: oklch(44.2% 0.202 277.2);
Tailwind
colors: {
  custom: {
    50: '#856fd3',
    500: '#4037be',
    950: '#000000',
  },
}
SCSS
$custom: #4037be;
$custom-light: #856fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#4037be",
  "rgb": {
    "r": 64,
    "g": 55,
    "b": 190
  },
  "hsl": {
    "h": 244,
    "s": 55.102,
    "l": 48.039
  },
  "oklch": {
    "l": 0.4416,
    "c": 0.20165,
    "h": 277.2
  },
  "luminance": 0.0754
}

Semantic roles & 50–950 ramp

primary
#4037BE
secondary
#C5CA87
accent
#DE49D4
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #4037BE

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

Preview Lab → · Contrast checker → · Palette generator →

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