#4049E0#4049E0

#4049E0 is a mid, highly saturated blue. Relative luminance 0.112; OKLCH L 50.1% C 0.224 H 272.4°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#4049E0
RGBrgb(64, 73, 224)
HSLhsl(237, 72%, 56%)
HSVhsv(237, 71%, 88%)
CMYKcmyk(71.4%, 67.4%, 0%, 12.2%)
CIE-LABlab(39.97, 45.58, -77.52)
CIE-LCHlch(39.97, 89.93, 300.46°)
OKLaboklab(50.13% 0.0094 -0.2241)
OKLCHoklch(50.13% 0.224 272.4)
XYZxyz(17.9469, 11.2351, 71.7293)
Luminance0.1124 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4049E0 #E0D740
analogous
#4099E0 #4049E0 #8740E0
triadic
#4049E0 #E04049 #49E040
tetradic
#4049E0 #E04099 #E0D740 #40E087
square
#4049E0 #E04099 #E0D740 #40E087
split-complementary
#4049E0 #E08740 #99E040
monochromatic
#171E8E #2029C3 #4049E0 #757BE9 #A9ADF1

Accessibility & contrast

On white

6.47
#4049E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#4049E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4049E0
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4049E0#FFFFFF#000000##FFFFFF
##4049E01.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E5
Deuteranopia (green-blind)
#0057DD
Tritanopia (blue-blind)
#00728F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4049e0;
/* rgb */ color: rgb(64, 73, 224);
/* oklch */ color: oklch(50.1% 0.224 272.4);
Tailwind
colors: {
  custom: {
    50: '#8b7ceb',
    500: '#4049e0',
    950: '#000000',
  },
}
SCSS
$custom: #4049e0;
$custom-light: #8b7ceb;
$custom-dark: #000000;
JSON
{
  "hex": "#4049e0",
  "rgb": {
    "r": 64,
    "g": 73,
    "b": 224
  },
  "hsl": {
    "h": 236.625,
    "s": 72.072,
    "l": 56.471
  },
  "oklch": {
    "l": 0.50128,
    "c": 0.22435,
    "h": 272.4
  },
  "luminance": 0.11237
}

Semantic roles & 50–950 ramp

primary
#4049E0
secondary
#DFDB9D
accent
#E539EF
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4049E0

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

Preview Lab → · Contrast checker → · Palette generator →

#4049E0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva