#4252DA#4252DA

#4252DA is a mid, highly saturated blue. Relative luminance 0.123; OKLCH L 51.2% C 0.206 H 271.7°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#4252DA
RGBrgb(66, 82, 218)
HSLhsl(234, 67%, 56%)
HSVhsv(234, 70%, 85%)
CMYKcmyk(69.7%, 62.4%, 0%, 14.5%)
CIE-LABlab(41.62, 38.34, -71.40)
CIE-LCHlch(41.62, 81.04, 298.23°)
OKLaboklab(51.2% 0.0062 -0.2061)
OKLCHoklch(51.2% 0.206 271.7)
XYZxyz(17.9147, 12.2530, 67.7370)
Luminance0.1226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4252DA #DACA42
analogous
#429EDA #4252DA #7E42DA
triadic
#4252DA #DA4252 #52DA42
tetradic
#4252DA #DA429E #DACA42 #42DA7E
square
#4252DA #DA429E #DACA42 #42DA7E
split-complementary
#4252DA #DA7E42 #9EDA42
monochromatic
#1A2687 #2434BA #4252DA #7581E4 #A8B0EE

Accessibility & contrast

On white

6.09
#4252DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#4252DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4252DA#FFFFFF#000000##FFFFFF
##4252DA1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DE
Deuteranopia (green-blind)
#005BD7
Tritanopia (blue-blind)
#00758E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4252da;
/* rgb */ color: rgb(66, 82, 218);
/* oklch */ color: oklch(51.2% 0.206 271.7);
Tailwind
colors: {
  custom: {
    50: '#8a82e7',
    500: '#4252da',
    950: '#000000',
  },
}
SCSS
$custom: #4252da;
$custom-light: #8a82e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4252da",
  "rgb": {
    "r": 66,
    "g": 82,
    "b": 218
  },
  "hsl": {
    "h": 233.684,
    "s": 67.257,
    "l": 55.686
  },
  "oklch": {
    "l": 0.51197,
    "c": 0.20623,
    "h": 271.7
  },
  "luminance": 0.12255
}

Semantic roles & 50–950 ramp

primary
#4252DA
secondary
#DBD59C
accent
#D83EEA
background
#F9F8FE
surface
#F1EFFD
border
#CBCAD5
text
#0D0A16
muted
#7E7C84

Preview Lab

Preview with #4252DA

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

Preview Lab → · Contrast checker → · Palette generator →

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