#4049DF#4049DF

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

Color values

HEX#4049DF
RGBrgb(64, 73, 223)
HSLhsl(237, 71%, 56%)
HSVhsv(237, 71%, 87%)
CMYKcmyk(71.3%, 67.3%, 0%, 12.5%)
CIE-LABlab(39.88, 45.25, -77.09)
CIE-LCHlch(39.88, 89.39, 300.41°)
OKLaboklab(50.04% 0.0095 -0.2229)
OKLCHoklch(50.04% 0.223 272.4)
XYZxyz(17.8117, 11.1810, 71.0172)
Luminance0.1118 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4049DF #DFD640
analogous
#4099DF #4049DF #8740DF
triadic
#4049DF #DF4049 #49DF40
tetradic
#4049DF #DF4099 #DFD640 #40DF87
square
#4049DF #DF4099 #DFD640 #40DF87
split-complementary
#4049DF #DF8740 #99DF40
monochromatic
#181E8D #202AC1 #4049DF #747BE8 #A9ADF1

Accessibility & contrast

On white

6.49
#4049DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#4049DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4049DF
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4049DF#FFFFFF#000000##FFFFFF
##4049DF1.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E4
Deuteranopia (green-blind)
#0056DC
Tritanopia (blue-blind)
#00728E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4049df;
/* rgb */ color: rgb(64, 73, 223);
/* oklch */ color: oklch(50.0% 0.223 272.4);
Tailwind
colors: {
  custom: {
    50: '#8b7cea',
    500: '#4049df',
    950: '#000000',
  },
}
SCSS
$custom: #4049df;
$custom-light: #8b7cea;
$custom-dark: #000000;
JSON
{
  "hex": "#4049df",
  "rgb": {
    "r": 64,
    "g": 73,
    "b": 223
  },
  "hsl": {
    "h": 236.604,
    "s": 71.3,
    "l": 56.275
  },
  "oklch": {
    "l": 0.50035,
    "c": 0.22311,
    "h": 272.4
  },
  "luminance": 0.11183
}

Semantic roles & 50–950 ramp

primary
#4049DF
secondary
#DEDA9D
accent
#E43AEE
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4049DF

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

Preview Lab → · Contrast checker → · Palette generator →

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