#4049AE#4049AE

#4049AE is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.8% C 0.159 H 274.4°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#4049AE
RGBrgb(64, 73, 174)
HSLhsl(235, 46%, 47%)
HSVhsv(235, 63%, 68%)
CMYKcmyk(63.2%, 58%, 0%, 31.8%)
CIE-LABlab(35.81, 28.44, -55.23)
CIE-LCHlch(35.81, 62.13, 297.25°)
OKLaboklab(45.79% 0.0122 -0.1588)
OKLCHoklch(45.79% 0.159 274.4)
XYZxyz(12.1344, 8.9101, 41.1166)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4049AE #AEA540
analogous
#4080AE #4049AE #6E40AE
triadic
#4049AE #AE4049 #49AE40
tetradic
#4049AE #AE4080 #AEA540 #40AE6E
square
#4049AE #AE4080 #AEA540 #40AE6E
split-complementary
#4049AE #AE6E40 #80AE40
monochromatic
#1F2355 #303681 #4049AE #656DC6 #9297D7

Accessibility & contrast

On white

7.55
#4049AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#4049AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4049AE
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4049AE#FFFFFF#000000##FFFFFF
##4049AE1.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B1
Deuteranopia (green-blind)
#0050AC
Tritanopia (blue-blind)
#006174
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4049ae;
/* rgb */ color: rgb(64, 73, 174);
/* oklch */ color: oklch(45.8% 0.159 274.4);
Tailwind
colors: {
  custom: {
    50: '#817bc7',
    500: '#4049ae',
    950: '#000000',
  },
}
SCSS
$custom: #4049ae;
$custom-light: #817bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#4049ae",
  "rgb": {
    "r": 64,
    "g": 73,
    "b": 174
  },
  "hsl": {
    "h": 235.091,
    "s": 46.218,
    "l": 46.667
  },
  "oklch": {
    "l": 0.45788,
    "c": 0.15926,
    "h": 274.4
  },
  "luminance": 0.08911
}

Semantic roles & 50–950 ramp

primary
#4049AE
secondary
#C2BD88
accent
#CB52D6
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #4049AE

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

Preview Lab → · Contrast checker → · Palette generator →

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