#4044E2#4044E2

#4044E2 is a mid, highly saturated blue. Relative luminance 0.107; OKLCH L 49.5% C 0.232 H 273.0°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#4044E2
RGBrgb(64, 68, 226)
HSLhsl(239, 74%, 57%)
HSVhsv(239, 72%, 89%)
CMYKcmyk(71.7%, 69.9%, 0%, 11.4%)
CIE-LABlab(39.09, 49.15, -80.11)
CIE-LCHlch(39.09, 93.98, 301.53°)
OKLaboklab(49.55% 0.012 -0.2317)
OKLCHoklch(49.55% 0.232 273)
XYZxyz(17.9043, 10.7134, 73.0611)
Luminance0.1071 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4044E2 #E2DE40
analogous
#4095E2 #4044E2 #8D40E2
triadic
#4044E2 #E24044 #44E240
tetradic
#4044E2 #E24095 #E2DE40 #40E28D
square
#4044E2 #E24095 #E2DE40 #40E28D
split-complementary
#4044E2 #E28D40 #95E240
monochromatic
#161992 #1E22C7 #4044E2 #7578EA #AAACF2

Accessibility & contrast

On white

6.68
#4044E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#4044E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4044E2
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4044E2#FFFFFF#000000##FFFFFF
##4044E21.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064E7
Deuteranopia (green-blind)
#0054DF
Tritanopia (blue-blind)
#00708E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4044e2;
/* rgb */ color: rgb(64, 68, 226);
/* oklch */ color: oklch(49.5% 0.232 273.0);
Tailwind
colors: {
  custom: {
    50: '#8c79ec',
    500: '#4044e2',
    950: '#000000',
  },
}
SCSS
$custom: #4044e2;
$custom-light: #8c79ec;
$custom-dark: #000000;
JSON
{
  "hex": "#4044e2",
  "rgb": {
    "r": 64,
    "g": 68,
    "b": 226
  },
  "hsl": {
    "h": 238.519,
    "s": 73.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.49549,
    "c": 0.23201,
    "h": 273
  },
  "luminance": 0.10715
}

Semantic roles & 50–950 ramp

primary
#4044E2
secondary
#E0DE9E
accent
#EC38F0
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4044E2

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

Preview Lab → · Contrast checker → · Palette generator →

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