#4037C3#4037C3

#4037C3 is a dark, highly saturated blue. Relative luminance 0.078; OKLCH L 44.6% C 0.208 H 276.7°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#4037C3
RGBrgb(64, 55, 195)
HSLhsl(244, 56%, 49%)
HSVhsv(244, 72%, 76%)
CMYKcmyk(67.2%, 71.8%, 0%, 23.5%)
CIE-LABlab(33.48, 46.48, -71.43)
CIE-LCHlch(33.48, 85.23, 303.05°)
OKLaboklab(44.64% 0.0243 -0.2064)
OKLCHoklch(44.64% 0.208 276.7)
XYZxyz(13.3277, 7.7613, 52.4149)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4037C3 #BAC337
analogous
#3774C3 #4037C3 #8637C3
triadic
#4037C3 #C34037 #37C340
tetradic
#4037C3 #C33774 #BAC337 #37C386
square
#4037C3 #C33774 #BAC337 #37C386
split-complementary
#4037C3 #C38637 #74C337
monochromatic
#211C64 #302A93 #4037C3 #6B64D3 #9994E1

Accessibility & contrast

On white

8.23
#4037C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#4037C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4037C3
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4037C3#FFFFFF#000000##FFFFFF
##4037C31.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C7
Deuteranopia (green-blind)
#0049C0
Tritanopia (blue-blind)
#005E79
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4037c3;
/* rgb */ color: rgb(64, 55, 195);
/* oklch */ color: oklch(44.6% 0.208 276.7);
Tailwind
colors: {
  custom: {
    50: '#8670d6',
    500: '#4037c3',
    950: '#000000',
  },
}
SCSS
$custom: #4037c3;
$custom-light: #8670d6;
$custom-dark: #000000;
JSON
{
  "hex": "#4037c3",
  "rgb": {
    "r": 64,
    "g": 55,
    "b": 195
  },
  "hsl": {
    "h": 243.857,
    "s": 56,
    "l": 49.02
  },
  "oklch": {
    "l": 0.44644,
    "c": 0.20778,
    "h": 276.7
  },
  "luminance": 0.07762
}

Semantic roles & 50–950 ramp

primary
#4037C3
secondary
#C8CC8A
accent
#DF49D6
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4037C3

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

Preview Lab → · Contrast checker → · Palette generator →

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