#4053AA#4053AA

#4053AA is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.5% C 0.141 H 270.9°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#4053AA
RGBrgb(64, 83, 170)
HSLhsl(229, 45%, 46%)
HSVhsv(229, 62%, 67%)
CMYKcmyk(62.4%, 51.2%, 0%, 33.3%)
CIE-LABlab(38.16, 20.56, -49.06)
CIE-LCHlch(38.16, 53.19, 292.74°)
OKLaboklab(47.46% 0.0022 -0.1405)
OKLCHoklch(47.46% 0.141 270.9)
XYZxyz(12.4609, 10.1777, 39.3303)
Luminance0.1018 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4053AA #AA9740
analogous
#4088AA #4053AA #6240AA
triadic
#4053AA #AA4053 #53AA40
tetradic
#4053AA #AA4088 #AA9740 #40AA62
square
#4053AA #AA4088 #AA9740 #40AA62
split-complementary
#4053AA #AA6240 #88AA40
monochromatic
#1F2851 #2F3D7E #4053AA #6374C4 #8F9CD5

Accessibility & contrast

On white

6.92
#4053AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#4053AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4053AA#FFFFFF#000000##FFFFFF
##4053AA1.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235FAD
Deuteranopia (green-blind)
#0555A8
Tritanopia (blue-blind)
#006776
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4053aa;
/* rgb */ color: rgb(64, 83, 170);
/* oklch */ color: oklch(47.5% 0.141 270.9);
Tailwind
colors: {
  custom: {
    50: '#7f83c4',
    500: '#4053aa',
    950: '#000000',
  },
}
SCSS
$custom: #4053aa;
$custom-light: #7f83c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4053aa",
  "rgb": {
    "r": 64,
    "g": 83,
    "b": 170
  },
  "hsl": {
    "h": 229.245,
    "s": 45.299,
    "l": 45.882
  },
  "oklch": {
    "l": 0.4746,
    "c": 0.14053,
    "h": 270.9
  },
  "luminance": 0.10179
}

Semantic roles & 50–950 ramp

primary
#4053AA
secondary
#C0B686
accent
#BE53D5
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #4053AA

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

Preview Lab → · Contrast checker → · Palette generator →

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