#4252AA#4252AA

#4252AA is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.4% C 0.141 H 272.2°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#4252AA
RGBrgb(66, 82, 170)
HSLhsl(231, 44%, 46%)
HSVhsv(231, 61%, 67%)
CMYKcmyk(61.2%, 51.8%, 0%, 33.3%)
CIE-LABlab(38.01, 21.58, -49.29)
CIE-LCHlch(38.01, 53.81, 293.65°)
OKLaboklab(47.38% 0.0054 -0.1412)
OKLCHoklch(47.38% 0.141 272.2)
XYZxyz(12.5174, 10.0941, 39.3111)
Luminance0.1009 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4252AA #AA9A42
analogous
#4286AA #4252AA #6642AA
triadic
#4252AA #AA4252 #52AA42
tetradic
#4252AA #AA4286 #AA9A42 #42AA66
square
#4252AA #AA4286 #AA9A42 #42AA66
split-complementary
#4252AA #AA6642 #86AA42
monochromatic
#202752 #313D7E #4252AA #6674C3 #929CD5

Accessibility & contrast

On white

6.96
#4252AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#4252AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4252AA
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4252AA#FFFFFF#000000##FFFFFF
##4252AA1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205EAD
Deuteranopia (green-blind)
#0355A8
Tritanopia (blue-blind)
#006676
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4252aa;
/* rgb */ color: rgb(66, 82, 170);
/* oklch */ color: oklch(47.4% 0.141 272.2);
Tailwind
colors: {
  custom: {
    50: '#8082c4',
    500: '#4252aa',
    950: '#000000',
  },
}
SCSS
$custom: #4252aa;
$custom-light: #8082c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4252aa",
  "rgb": {
    "r": 66,
    "g": 82,
    "b": 170
  },
  "hsl": {
    "h": 230.769,
    "s": 44.068,
    "l": 46.275
  },
  "oklch": {
    "l": 0.4738,
    "c": 0.14126,
    "h": 272.2
  },
  "luminance": 0.10095
}

Semantic roles & 50–950 ramp

primary
#4252AA
secondary
#C0B788
accent
#C054D4
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #4252AA

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

Preview Lab → · Contrast checker → · Palette generator →

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