#4044E5#4044E5

#4044E5 is a mid, highly saturated blue. Relative luminance 0.109; OKLCH L 49.8% C 0.236 H 272.8°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#4044E5
RGBrgb(64, 68, 229)
HSLhsl(239, 76%, 57%)
HSVhsv(239, 72%, 90%)
CMYKcmyk(72.1%, 70.3%, 0%, 10.2%)
CIE-LABlab(39.38, 50.13, -81.35)
CIE-LCHlch(39.38, 95.55, 301.64°)
OKLaboklab(49.84% 0.0115 -0.2353)
OKLCHoklch(49.84% 0.236 272.8)
XYZxyz(18.3196, 10.8795, 75.2480)
Luminance0.1088 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4044E5 #E5E140
analogous
#4097E5 #4044E5 #8E40E5
triadic
#4044E5 #E54044 #44E540
tetradic
#4044E5 #E54097 #E5E140 #40E58E
square
#4044E5 #E54097 #E5E140 #40E58E
split-complementary
#4044E5 #E58E40 #97E540
monochromatic
#141896 #1C20CC #4044E5 #7679EC #ACADF4

Accessibility & contrast

On white

6.61
#4044E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#4044E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4044E5
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4044E5#FFFFFF#000000##FFFFFF
##4044E51.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065EA
Deuteranopia (green-blind)
#0055E2
Tritanopia (blue-blind)
#007190
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4044e5;
/* rgb */ color: rgb(64, 68, 229);
/* oklch */ color: oklch(49.8% 0.236 272.8);
Tailwind
colors: {
  custom: {
    50: '#8c79ef',
    500: '#4044e5',
    950: '#000000',
  },
}
SCSS
$custom: #4044e5;
$custom-light: #8c79ef;
$custom-dark: #000000;
JSON
{
  "hex": "#4044e5",
  "rgb": {
    "r": 64,
    "g": 68,
    "b": 229
  },
  "hsl": {
    "h": 238.545,
    "s": 76.037,
    "l": 57.451
  },
  "oklch": {
    "l": 0.49838,
    "c": 0.2356,
    "h": 272.8
  },
  "luminance": 0.10881
}

Semantic roles & 50–950 ramp

primary
#4044E5
secondary
#E2E09F
accent
#EE35F3
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0917
muted
#7E7B85

Preview Lab

Preview with #4044E5

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

Preview Lab → · Contrast checker → · Palette generator →

#4044E5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva