#4252D8#4252D8

#4252D8 is a mid, highly saturated blue. Relative luminance 0.122; OKLCH L 51.0% C 0.204 H 271.8°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#4252D8
RGBrgb(66, 82, 216)
HSLhsl(234, 66%, 55%)
HSVhsv(234, 69%, 85%)
CMYKcmyk(69.4%, 62%, 0%, 15.3%)
CIE-LABlab(41.45, 37.65, -70.52)
CIE-LCHlch(41.45, 79.94, 298.09°)
OKLaboklab(51.03% 0.0063 -0.2036)
OKLCHoklch(51.03% 0.204 271.8)
XYZxyz(17.6545, 12.1490, 66.3670)
Luminance0.1215 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4252D8 #D8C842
analogous
#429DD8 #4252D8 #7D42D8
triadic
#4252D8 #D84252 #52D842
tetradic
#4252D8 #D8429D #D8C842 #42D87D
square
#4252D8 #D8429D #D8C842 #42D87D
split-complementary
#4252D8 #D87D42 #9DD842
monochromatic
#1B2784 #2635B7 #4252D8 #7580E2 #A7AFED

Accessibility & contrast

On white

6.12
#4252D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#4252D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4252D8#FFFFFF#000000##FFFFFF
##4252D81.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DC
Deuteranopia (green-blind)
#005BD5
Tritanopia (blue-blind)
#00748D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4252d8;
/* rgb */ color: rgb(66, 82, 216);
/* oklch */ color: oklch(51.0% 0.204 271.8);
Tailwind
colors: {
  custom: {
    50: '#8982e5',
    500: '#4252d8',
    950: '#000000',
  },
}
SCSS
$custom: #4252d8;
$custom-light: #8982e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4252d8",
  "rgb": {
    "r": 66,
    "g": 82,
    "b": 216
  },
  "hsl": {
    "h": 233.6,
    "s": 65.789,
    "l": 55.294
  },
  "oklch": {
    "l": 0.51026,
    "c": 0.20366,
    "h": 271.8
  },
  "luminance": 0.12151
}

Semantic roles & 50–950 ramp

primary
#4252D8
secondary
#DAD49C
accent
#D73FE9
background
#F9F8FE
surface
#F1EFFC
border
#CBCAD5
text
#0D0A16
muted
#7E7C84

Preview Lab

Preview with #4252D8

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

Preview Lab → · Contrast checker → · Palette generator →

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