#4053AC#4053AC

#4053AC is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.6% C 0.143 H 271.0°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#4053AC
RGBrgb(64, 83, 172)
HSLhsl(229, 46%, 46%)
HSVhsv(229, 63%, 67%)
CMYKcmyk(62.8%, 51.7%, 0%, 32.5%)
CIE-LABlab(38.29, 21.26, -50.03)
CIE-LCHlch(38.29, 54.36, 293.03°)
OKLaboklab(47.61% 0.0024 -0.1434)
OKLCHoklch(47.61% 0.143 271)
XYZxyz(12.6515, 10.2540, 40.3342)
Luminance0.1026 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4053AC #AC9940
analogous
#4089AC #4053AC #6340AC
triadic
#4053AC #AC4053 #53AC40
tetradic
#4053AC #AC4089 #AC9940 #40AC63
square
#4053AC #AC4089 #AC9940 #40AC63
split-complementary
#4053AC #AC6340 #89AC40
monochromatic
#1F2853 #2F3D7F #4053AC #6475C5 #919DD6

Accessibility & contrast

On white

6.88
#4053AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#4053AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4053AC
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4053AC#FFFFFF#000000##FFFFFF
##4053AC1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205FAF
Deuteranopia (green-blind)
#0056AA
Tritanopia (blue-blind)
#006877
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4053ac;
/* rgb */ color: rgb(64, 83, 172);
/* oklch */ color: oklch(47.6% 0.143 271.0);
Tailwind
colors: {
  custom: {
    50: '#8083c5',
    500: '#4053ac',
    950: '#000000',
  },
}
SCSS
$custom: #4053ac;
$custom-light: #8083c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4053ac",
  "rgb": {
    "r": 64,
    "g": 83,
    "b": 172
  },
  "hsl": {
    "h": 229.444,
    "s": 45.763,
    "l": 46.275
  },
  "oklch": {
    "l": 0.47605,
    "c": 0.14338,
    "h": 271
  },
  "luminance": 0.10255
}

Semantic roles & 50–950 ramp

primary
#4053AC
secondary
#C1B787
accent
#BE52D5
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #4053AC

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

Preview Lab → · Contrast checker → · Palette generator →

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