#4052AE#4052AE

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

Color values

HEX#4052AE
RGBrgb(64, 82, 174)
HSLhsl(230, 46%, 47%)
HSVhsv(230, 63%, 68%)
CMYKcmyk(63.2%, 52.9%, 0%, 31.8%)
CIE-LABlab(38.16, 22.62, -51.42)
CIE-LCHlch(38.16, 56.18, 293.74°)
OKLaboklab(47.55% 0.0036 -0.1475)
OKLCHoklch(47.55% 0.148 271.4)
XYZxyz(12.7691, 10.1795, 41.3281)
Luminance0.1018 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4052AE #AE9C40
analogous
#4089AE #4052AE #6540AE
triadic
#4052AE #AE4052 #52AE40
tetradic
#4052AE #AE4089 #AE9C40 #40AE65
square
#4052AE #AE4089 #AE9C40 #40AE65
split-complementary
#4052AE #AE6540 #89AE40
monochromatic
#1F2855 #303D81 #4052AE #6575C6 #929DD7

Accessibility & contrast

On white

6.92
#4052AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#4052AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4052AE#FFFFFF#000000##FFFFFF
##4052AE1.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)
#195FB1
Deuteranopia (green-blind)
#0055AC
Tritanopia (blue-blind)
#006778
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4052ae;
/* rgb */ color: rgb(64, 82, 174);
/* oklch */ color: oklch(47.5% 0.148 271.4);
Tailwind
colors: {
  custom: {
    50: '#8082c7',
    500: '#4052ae',
    950: '#000000',
  },
}
SCSS
$custom: #4052ae;
$custom-light: #8082c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4052ae",
  "rgb": {
    "r": 64,
    "g": 82,
    "b": 174
  },
  "hsl": {
    "h": 230.182,
    "s": 46.218,
    "l": 46.667
  },
  "oklch": {
    "l": 0.47549,
    "c": 0.14753,
    "h": 271.4
  },
  "luminance": 0.10181
}

Semantic roles & 50–950 ramp

primary
#4052AE
secondary
#C2B988
accent
#C052D6
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #4052AE

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

Preview Lab → · Contrast checker → · Palette generator →

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