#4049AC#4049AC

#4049AC is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.6% C 0.156 H 274.5°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#4049AC
RGBrgb(64, 73, 172)
HSLhsl(235, 46%, 46%)
HSVhsv(235, 63%, 67%)
CMYKcmyk(62.8%, 57.6%, 0%, 32.5%)
CIE-LABlab(35.66, 27.75, -54.29)
CIE-LCHlch(35.66, 60.97, 297.07°)
OKLaboklab(45.63% 0.0122 -0.156)
OKLCHoklch(45.63% 0.156 274.5)
XYZxyz(11.9408, 8.8327, 40.0973)
Luminance0.0883 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4049AC #ACA340
analogous
#407FAC #4049AC #6D40AC
triadic
#4049AC #AC4049 #49AC40
tetradic
#4049AC #AC407F #ACA340 #40AC6D
square
#4049AC #AC407F #ACA340 #40AC6D
split-complementary
#4049AC #AC6D40 #7FAC40
monochromatic
#1F2353 #2F367F #4049AC #646CC5 #9196D6

Accessibility & contrast

On white

7.59
#4049AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#4049AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4049AC
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4049AC#FFFFFF#000000##FFFFFF
##4049AC1.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AF
Deuteranopia (green-blind)
#004FAA
Tritanopia (blue-blind)
#006173
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4049ac;
/* rgb */ color: rgb(64, 73, 172);
/* oklch */ color: oklch(45.6% 0.156 274.5);
Tailwind
colors: {
  custom: {
    50: '#807bc5',
    500: '#4049ac',
    950: '#000000',
  },
}
SCSS
$custom: #4049ac;
$custom-light: #807bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#4049ac",
  "rgb": {
    "r": 64,
    "g": 73,
    "b": 172
  },
  "hsl": {
    "h": 235,
    "s": 45.763,
    "l": 46.275
  },
  "oklch": {
    "l": 0.45629,
    "c": 0.15648,
    "h": 274.5
  },
  "luminance": 0.08834
}

Semantic roles & 50–950 ramp

primary
#4049AC
secondary
#C1BC87
accent
#CB52D5
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #4049AC

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

Preview Lab → · Contrast checker → · Palette generator →

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