#4049D0#4049D0

#4049D0 is a mid, highly saturated blue. Relative luminance 0.104; OKLCH L 48.7% C 0.204 H 273.1°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#4049D0
RGBrgb(64, 73, 208)
HSLhsl(236, 61%, 53%)
HSVhsv(236, 69%, 82%)
CMYKcmyk(69.2%, 64.9%, 0%, 18.4%)
CIE-LABlab(38.56, 40.18, -70.65)
CIE-LCHlch(38.56, 81.28, 299.63°)
OKLaboklab(48.67% 0.0109 -0.204)
OKLCHoklch(48.67% 0.204 273.1)
XYZxyz(15.8783, 10.4076, 60.8344)
Luminance0.1041 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4049D0 #D0C740
analogous
#4091D0 #4049D0 #7F40D0
triadic
#4049D0 #D04049 #49D040
tetradic
#4049D0 #D04091 #D0C740 #40D07F
square
#4049D0 #D04091 #D0C740 #40D07F
split-complementary
#4049D0 #D07F40 #91D040
monochromatic
#1E2378 #2A32A9 #4049D0 #7178DC #A2A7E8

Accessibility & contrast

On white

6.81
#4049D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#4049D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4049D0
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4049D0#FFFFFF#000000##FFFFFF
##4049D01.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D4
Deuteranopia (green-blind)
#0054CD
Tritanopia (blue-blind)
#006C86
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4049d0;
/* rgb */ color: rgb(64, 73, 208);
/* oklch */ color: oklch(48.7% 0.204 273.1);
Tailwind
colors: {
  custom: {
    50: '#877cdf',
    500: '#4049d0',
    950: '#000000',
  },
}
SCSS
$custom: #4049d0;
$custom-light: #877cdf;
$custom-dark: #000000;
JSON
{
  "hex": "#4049d0",
  "rgb": {
    "r": 64,
    "g": 73,
    "b": 208
  },
  "hsl": {
    "h": 236.25,
    "s": 60.504,
    "l": 53.333
  },
  "oklch": {
    "l": 0.48673,
    "c": 0.20434,
    "h": 273.1
  },
  "luminance": 0.10409
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4049D0

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

Preview Lab → · Contrast checker → · Palette generator →

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