#4049BD#4049BD

#4049BD is a mid, vivid blue. Relative luminance 0.095; OKLCH L 47.0% C 0.180 H 273.8°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#4049BD
RGBrgb(64, 73, 189)
HSLhsl(236, 49%, 50%)
HSVhsv(236, 66%, 74%)
CMYKcmyk(66.1%, 61.4%, 0%, 25.9%)
CIE-LABlab(36.98, 33.66, -62.18)
CIE-LCHlch(36.98, 70.70, 298.43°)
OKLaboklab(47.02% 0.012 -0.1792)
OKLCHoklch(47.02% 0.18 273.8)
XYZxyz(13.6792, 9.5280, 49.2525)
Luminance0.0953 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4049BD #BDB440
analogous
#4088BD #4049BD #7640BD
triadic
#4049BD #BD4049 #49BD40
tetradic
#4049BD #BD4088 #BDB440 #40BD76
square
#4049BD #BD4088 #BDB440 #40BD76
split-complementary
#4049BD #BD7640 #88BD40
monochromatic
#212662 #31378F #4049BD #6D74CD #9A9FDD

Accessibility & contrast

On white

7.23
#4049BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#4049BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4049BD
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4049BD#FFFFFF#000000##FFFFFF
##4049BD1.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC1
Deuteranopia (green-blind)
#0051BB
Tritanopia (blue-blind)
#00667C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4049bd;
/* rgb */ color: rgb(64, 73, 189);
/* oklch */ color: oklch(47.0% 0.180 273.8);
Tailwind
colors: {
  custom: {
    50: '#837cd2',
    500: '#4049bd',
    950: '#000000',
  },
}
SCSS
$custom: #4049bd;
$custom-light: #837cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#4049bd",
  "rgb": {
    "r": 64,
    "g": 73,
    "b": 189
  },
  "hsl": {
    "h": 235.68,
    "s": 49.407,
    "l": 49.608
  },
  "oklch": {
    "l": 0.47022,
    "c": 0.17961,
    "h": 273.8
  },
  "luminance": 0.09529
}

Semantic roles & 50–950 ramp

primary
#4049BD
secondary
#C9C590
accent
#CF4FD9
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #4049BD

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

Preview Lab → · Contrast checker → · Palette generator →

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