#4049D4#4049D4

#4049D4 is a mid, highly saturated blue. Relative luminance 0.106; OKLCH L 49.0% C 0.209 H 272.9°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#4049D4
RGBrgb(64, 73, 212)
HSLhsl(236, 63%, 54%)
HSVhsv(236, 70%, 83%)
CMYKcmyk(69.8%, 65.6%, 0%, 16.9%)
CIE-LABlab(38.91, 41.54, -72.39)
CIE-LCHlch(38.91, 83.46, 299.85°)
OKLaboklab(49.03% 0.0106 -0.2091)
OKLCHoklch(49.03% 0.209 272.9)
XYZxyz(16.3766, 10.6070, 63.4589)
Luminance0.1061 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4049D4 #D4CB40
analogous
#4093D4 #4049D4 #8140D4
triadic
#4049D4 #D44049 #49D440
tetradic
#4049D4 #D44093 #D4CB40 #40D481
square
#4049D4 #D44093 #D4CB40 #40D481
split-complementary
#4049D4 #D48140 #93D440
monochromatic
#1C227D #2730AF #4049D4 #7279DF #A4A8EA

Accessibility & contrast

On white

6.73
#4049D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#4049D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4049D4
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4049D4#FFFFFF#000000##FFFFFF
##4049D41.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D8
Deuteranopia (green-blind)
#0055D1
Tritanopia (blue-blind)
#006E88
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4049d4;
/* rgb */ color: rgb(64, 73, 212);
/* oklch */ color: oklch(49.0% 0.209 272.9);
Tailwind
colors: {
  custom: {
    50: '#887ce2',
    500: '#4049d4',
    950: '#000000',
  },
}
SCSS
$custom: #4049d4;
$custom-light: #887ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#4049d4",
  "rgb": {
    "r": 64,
    "g": 73,
    "b": 212
  },
  "hsl": {
    "h": 236.351,
    "s": 63.248,
    "l": 54.118
  },
  "oklch": {
    "l": 0.49031,
    "c": 0.20941,
    "h": 272.9
  },
  "luminance": 0.10609
}

Semantic roles & 50–950 ramp

primary
#4049D4
secondary
#D7D498
accent
#DC42E6
background
#F9F7FE
surface
#F1EEFC
border
#CBC9D5
text
#0D0916
muted
#7E7B84

Preview Lab

Preview with #4049D4

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

Preview Lab → · Contrast checker → · Palette generator →

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