#4049BF#4049BF

#4049BF is a mid, vivid blue. Relative luminance 0.096; OKLCH L 47.2% C 0.182 H 273.7°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#4049BF
RGBrgb(64, 73, 191)
HSLhsl(236, 50%, 50%)
HSVhsv(236, 66%, 75%)
CMYKcmyk(66.5%, 61.8%, 0%, 25.1%)
CIE-LABlab(37.14, 34.35, -63.09)
CIE-LCHlch(37.14, 71.83, 298.57°)
OKLaboklab(47.19% 0.0119 -0.1819)
OKLCHoklch(47.19% 0.182 273.7)
XYZxyz(13.8977, 9.6154, 50.4037)
Luminance0.0962 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4049BF #BFB640
analogous
#4089BF #4049BF #7640BF
triadic
#4049BF #BF4049 #49BF40
tetradic
#4049BF #BF4089 #BFB640 #40BF76
square
#4049BF #BF4089 #BFB640 #40BF76
split-complementary
#4049BF #BF7640 #89BF40
monochromatic
#212663 #313791 #4049BF #6E75CE #9CA0DE

Accessibility & contrast

On white

7.18
#4049BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#4049BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4049BF
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4049BF#FFFFFF#000000##FFFFFF
##4049BF1.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC3
Deuteranopia (green-blind)
#0052BD
Tritanopia (blue-blind)
#00677D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4049bf;
/* rgb */ color: rgb(64, 73, 191);
/* oklch */ color: oklch(47.2% 0.182 273.7);
Tailwind
colors: {
  custom: {
    50: '#847cd3',
    500: '#4049bf',
    950: '#000000',
  },
}
SCSS
$custom: #4049bf;
$custom-light: #847cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#4049bf",
  "rgb": {
    "r": 64,
    "g": 73,
    "b": 191
  },
  "hsl": {
    "h": 235.748,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.47191,
    "c": 0.18227,
    "h": 273.7
  },
  "luminance": 0.09617
}

Semantic roles & 50–950 ramp

primary
#4049BF
secondary
#CAC691
accent
#CF4ED9
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #4049BF

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

Preview Lab → · Contrast checker → · Palette generator →

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