#4037C6#4037C6

#4037C6 is a dark, highly saturated blue. Relative luminance 0.079; OKLCH L 44.9% C 0.211 H 276.4°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#4037C6
RGBrgb(64, 55, 198)
HSLhsl(244, 57%, 50%)
HSVhsv(244, 72%, 78%)
CMYKcmyk(67.7%, 72.2%, 0%, 22.4%)
CIE-LABlab(33.77, 47.44, -72.71)
CIE-LCHlch(33.77, 86.82, 303.12°)
OKLaboklab(44.94% 0.0238 -0.2101)
OKLCHoklch(44.94% 0.211 276.4)
XYZxyz(13.6703, 7.8984, 54.2193)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4037C6 #BDC637
analogous
#3776C6 #4037C6 #8737C6
triadic
#4037C6 #C64037 #37C640
tetradic
#4037C6 #C63776 #BDC637 #37C687
square
#4037C6 #C63776 #BDC637 #37C687
split-complementary
#4037C6 #C68737 #76C637
monochromatic
#211C66 #312A96 #4037C6 #6D66D4 #9A96E2

Accessibility & contrast

On white

8.14
#4037C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#4037C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4037C6
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4037C6#FFFFFF#000000##FFFFFF
##4037C61.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055CA
Deuteranopia (green-blind)
#0049C3
Tritanopia (blue-blind)
#005F7B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4037c6;
/* rgb */ color: rgb(64, 55, 198);
/* oklch */ color: oklch(44.9% 0.211 276.4);
Tailwind
colors: {
  custom: {
    50: '#8770d9',
    500: '#4037c6',
    950: '#000000',
  },
}
SCSS
$custom: #4037c6;
$custom-light: #8770d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4037c6",
  "rgb": {
    "r": 64,
    "g": 55,
    "b": 198
  },
  "hsl": {
    "h": 243.776,
    "s": 56.522,
    "l": 49.608
  },
  "oklch": {
    "l": 0.44938,
    "c": 0.21143,
    "h": 276.4
  },
  "luminance": 0.079
}

Semantic roles & 50–950 ramp

primary
#4037C6
secondary
#C9CD8C
accent
#E048D6
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #4037C6

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

Preview Lab → · Contrast checker → · Palette generator →

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