#4049D1#4049D1

#4049D1 is a mid, highly saturated blue. Relative luminance 0.105; OKLCH L 48.8% C 0.206 H 273.0°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#4049D1
RGBrgb(64, 73, 209)
HSLhsl(236, 61%, 54%)
HSVhsv(236, 69%, 82%)
CMYKcmyk(69.4%, 65.1%, 0%, 18%)
CIE-LABlab(38.65, 40.52, -71.08)
CIE-LCHlch(38.65, 81.82, 299.69°)
OKLaboklab(48.76% 0.0108 -0.2053)
OKLCHoklch(48.76% 0.206 273)
XYZxyz(16.0017, 10.4570, 61.4843)
Luminance0.1046 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4049D1 #D1C840
analogous
#4091D1 #4049D1 #7F40D1
triadic
#4049D1 #D14049 #49D140
tetradic
#4049D1 #D14091 #D1C840 #40D17F
square
#4049D1 #D14091 #D1C840 #40D17F
split-complementary
#4049D1 #D17F40 #91D140
monochromatic
#1D2379 #2931AB #4049D1 #7178DD #A3A7E9

Accessibility & contrast

On white

6.79
#4049D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#4049D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4049D1
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4049D1#FFFFFF#000000##FFFFFF
##4049D11.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D5
Deuteranopia (green-blind)
#0054CE
Tritanopia (blue-blind)
#006D86
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4049d1;
/* rgb */ color: rgb(64, 73, 209);
/* oklch */ color: oklch(48.8% 0.206 273.0);
Tailwind
colors: {
  custom: {
    50: '#887ce0',
    500: '#4049d1',
    950: '#000000',
  },
}
SCSS
$custom: #4049d1;
$custom-light: #887ce0;
$custom-dark: #000000;
JSON
{
  "hex": "#4049d1",
  "rgb": {
    "r": 64,
    "g": 73,
    "b": 209
  },
  "hsl": {
    "h": 236.276,
    "s": 61.181,
    "l": 53.529
  },
  "oklch": {
    "l": 0.48762,
    "c": 0.20561,
    "h": 273
  },
  "luminance": 0.10459
}

Semantic roles & 50–950 ramp

primary
#4049D1
secondary
#D5D297
accent
#DA44E4
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4049D1

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

Preview Lab → · Contrast checker → · Palette generator →

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