#4049A3#4049A3

#4049A3 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.9% C 0.144 H 274.7°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#4049A3
RGBrgb(64, 73, 163)
HSLhsl(235, 44%, 45%)
HSVhsv(235, 61%, 64%)
CMYKcmyk(60.7%, 55.2%, 0%, 36.1%)
CIE-LABlab(35.00, 24.61, -49.98)
CIE-LCHlch(35.00, 55.71, 296.22°)
OKLaboklab(44.93% 0.0119 -0.1433)
OKLCHoklch(44.93% 0.144 274.7)
XYZxyz(11.1056, 8.4986, 35.6984)
Luminance0.0850 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4049A3 #A39A40
analogous
#407BA3 #4049A3 #6840A3
triadic
#4049A3 #A34049 #49A340
tetradic
#4049A3 #A3407B #A39A40 #40A368
square
#4049A3 #A3407B #A39A40 #40A368
split-complementary
#4049A3 #A36840 #7BA340
monochromatic
#1D224B #2F3577 #4049A3 #6069C0 #8C92D2

Accessibility & contrast

On white

7.78
#4049A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#4049A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4049A3
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4049A3#FFFFFF#000000##FFFFFF
##4049A31.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A57A6
Deuteranopia (green-blind)
#004EA1
Tritanopia (blue-blind)
#005E6F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4049a3;
/* rgb */ color: rgb(64, 73, 163);
/* oklch */ color: oklch(44.9% 0.144 274.7);
Tailwind
colors: {
  custom: {
    50: '#7f7bbf',
    500: '#4049a3',
    950: '#000000',
  },
}
SCSS
$custom: #4049a3;
$custom-light: #7f7bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#4049a3",
  "rgb": {
    "r": 64,
    "g": 73,
    "b": 163
  },
  "hsl": {
    "h": 234.545,
    "s": 43.612,
    "l": 44.51
  },
  "oklch": {
    "l": 0.44927,
    "c": 0.14383,
    "h": 274.7
  },
  "luminance": 0.08499
}

Semantic roles & 50–950 ramp

primary
#4049A3
secondary
#BDB782
accent
#C854D3
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0B0912
muted
#7C7B81

Preview Lab

Preview with #4049A3

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

Preview Lab → · Contrast checker → · Palette generator →

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