#4049D2#4049D2

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

Color values

HEX#4049D2
RGBrgb(64, 73, 210)
HSLhsl(236, 62%, 54%)
HSVhsv(236, 70%, 82%)
CMYKcmyk(69.5%, 65.2%, 0%, 17.6%)
CIE-LABlab(38.74, 40.86, -71.52)
CIE-LCHlch(38.74, 82.37, 299.74°)
OKLaboklab(48.85% 0.0107 -0.2066)
OKLCHoklch(48.85% 0.207 273)
XYZxyz(16.1259, 10.5067, 62.1384)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4049D2 #D2C940
analogous
#4092D2 #4049D2 #8040D2
triadic
#4049D2 #D24049 #49D240
tetradic
#4049D2 #D24092 #D2C940 #40D280
square
#4049D2 #D24092 #D2C940 #40D280
split-complementary
#4049D2 #D28040 #92D240
monochromatic
#1D237B #2931AC #4049D2 #7278DE #A3A7E9

Accessibility & contrast

On white

6.77
#4049D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#4049D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4049D2
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4049D2#FFFFFF#000000##FFFFFF
##4049D21.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D6
Deuteranopia (green-blind)
#0054CF
Tritanopia (blue-blind)
#006D87
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4049d2;
/* rgb */ color: rgb(64, 73, 210);
/* oklch */ color: oklch(48.9% 0.207 273.0);
Tailwind
colors: {
  custom: {
    50: '#887ce1',
    500: '#4049d2',
    950: '#000000',
  },
}
SCSS
$custom: #4049d2;
$custom-light: #887ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#4049d2",
  "rgb": {
    "r": 64,
    "g": 73,
    "b": 210
  },
  "hsl": {
    "h": 236.301,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.48851,
    "c": 0.20688,
    "h": 273
  },
  "luminance": 0.10508
}

Semantic roles & 50–950 ramp

primary
#4049D2
secondary
#D6D298
accent
#DB43E5
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4049D2

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

Preview Lab → · Contrast checker → · Palette generator →

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