#4252AC#4252AC

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

Color values

HEX#4252AC
RGBrgb(66, 82, 172)
HSLhsl(231, 45%, 47%)
HSVhsv(231, 62%, 67%)
CMYKcmyk(61.6%, 52.3%, 0%, 32.5%)
CIE-LABlab(38.15, 22.28, -50.26)
CIE-LCHlch(38.15, 54.98, 293.91°)
OKLaboklab(47.53% 0.0055 -0.144)
OKLCHoklch(47.53% 0.144 272.2)
XYZxyz(12.7080, 10.1704, 40.3151)
Luminance0.1017 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4252AC #AC9C42
analogous
#4287AC #4252AC #6742AC
triadic
#4252AC #AC4252 #52AC42
tetradic
#4252AC #AC4287 #AC9C42 #42AC67
square
#4252AC #AC4287 #AC9C42 #42AC67
split-complementary
#4252AC #AC6742 #87AC42
monochromatic
#202854 #313D80 #4252AC #6775C5 #939DD6

Accessibility & contrast

On white

6.92
#4252AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#4252AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4252AC#FFFFFF#000000##FFFFFF
##4252AC1.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5FAF
Deuteranopia (green-blind)
#0055AA
Tritanopia (blue-blind)
#006777
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4252ac;
/* rgb */ color: rgb(66, 82, 172);
/* oklch */ color: oklch(47.5% 0.144 272.2);
Tailwind
colors: {
  custom: {
    50: '#8182c5',
    500: '#4252ac',
    950: '#000000',
  },
}
SCSS
$custom: #4252ac;
$custom-light: #8182c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4252ac",
  "rgb": {
    "r": 66,
    "g": 82,
    "b": 172
  },
  "hsl": {
    "h": 230.943,
    "s": 44.538,
    "l": 46.667
  },
  "oklch": {
    "l": 0.47525,
    "c": 0.14412,
    "h": 272.2
  },
  "luminance": 0.10171
}

Semantic roles & 50–950 ramp

primary
#4252AC
secondary
#C1B989
accent
#C154D4
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #4252AC

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

Preview Lab → · Contrast checker → · Palette generator →

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