#4252D6#4252D6

#4252D6 is a mid, highly saturated blue. Relative luminance 0.120; OKLCH L 50.9% C 0.201 H 271.8°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#4252D6
RGBrgb(66, 82, 214)
HSLhsl(234, 64%, 55%)
HSVhsv(234, 69%, 84%)
CMYKcmyk(69.2%, 61.7%, 0%, 16.1%)
CIE-LABlab(41.29, 36.95, -69.64)
CIE-LCHlch(41.29, 78.84, 297.95°)
OKLaboklab(50.86% 0.0063 -0.201)
OKLCHoklch(50.86% 0.201 271.8)
XYZxyz(17.3976, 12.0462, 65.0136)
Luminance0.1205 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4252D6 #D6C642
analogous
#429CD6 #4252D6 #7C42D6
triadic
#4252D6 #D64252 #52D642
tetradic
#4252D6 #D6429C #D6C642 #42D67C
square
#4252D6 #D6429C #D6C642 #42D67C
split-complementary
#4252D6 #D67C42 #9CD642
monochromatic
#1C2782 #2736B4 #4252D6 #7480E1 #A7AEEC

Accessibility & contrast

On white

6.16
#4252D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#4252D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4252D6#FFFFFF#000000##FFFFFF
##4252D61.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DA
Deuteranopia (green-blind)
#005BD3
Tritanopia (blue-blind)
#00748C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4252d6;
/* rgb */ color: rgb(66, 82, 214);
/* oklch */ color: oklch(50.9% 0.201 271.8);
Tailwind
colors: {
  custom: {
    50: '#8982e4',
    500: '#4252d6',
    950: '#000000',
  },
}
SCSS
$custom: #4252d6;
$custom-light: #8982e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4252d6",
  "rgb": {
    "r": 66,
    "g": 82,
    "b": 214
  },
  "hsl": {
    "h": 233.514,
    "s": 64.348,
    "l": 54.902
  },
  "oklch": {
    "l": 0.50856,
    "c": 0.20108,
    "h": 271.8
  },
  "luminance": 0.12048
}

Semantic roles & 50–950 ramp

primary
#4252D6
secondary
#D9D29B
accent
#D540E7
background
#F9F8FE
surface
#F1EFFC
border
#CBCAD5
text
#0D0A16
muted
#7E7C84

Preview Lab

Preview with #4252D6

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

Preview Lab → · Contrast checker → · Palette generator →

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