#4252D1#4252D1

#4252D1 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.4% C 0.195 H 271.9°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#4252D1
RGBrgb(66, 82, 209)
HSLhsl(233, 61%, 54%)
HSVhsv(233, 68%, 82%)
CMYKcmyk(68.4%, 60.8%, 0%, 18%)
CIE-LABlab(40.89, 35.22, -67.42)
CIE-LCHlch(40.89, 76.07, 297.58°)
OKLaboklab(50.43% 0.0065 -0.1945)
OKLCHoklch(50.43% 0.195 271.9)
XYZxyz(16.7688, 11.7947, 61.7021)
Luminance0.1180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4252D1 #D1C142
analogous
#429AD1 #4252D1 #7A42D1
triadic
#4252D1 #D14252 #52D142
tetradic
#4252D1 #D1429A #D1C142 #42D17A
square
#4252D1 #D1429A #D1C142 #42D17A
split-complementary
#4252D1 #D17A42 #9AD142
monochromatic
#1E287B #2A38AC #4252D1 #737FDD #A4ACE9

Accessibility & contrast

On white

6.25
#4252D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#4252D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4252D1#FFFFFF#000000##FFFFFF
##4252D11.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D5
Deuteranopia (green-blind)
#005ACF
Tritanopia (blue-blind)
#00728A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4252d1;
/* rgb */ color: rgb(66, 82, 209);
/* oklch */ color: oklch(50.4% 0.195 271.9);
Tailwind
colors: {
  custom: {
    50: '#8882e0',
    500: '#4252d1',
    950: '#000000',
  },
}
SCSS
$custom: #4252d1;
$custom-light: #8882e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4252d1",
  "rgb": {
    "r": 66,
    "g": 82,
    "b": 209
  },
  "hsl": {
    "h": 233.287,
    "s": 60.851,
    "l": 53.922
  },
  "oklch": {
    "l": 0.50435,
    "c": 0.19459,
    "h": 271.9
  },
  "luminance": 0.11796
}

Semantic roles & 50–950 ramp

primary
#4252D1
secondary
#D6CF99
accent
#D244E4
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4252D1

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

Preview Lab → · Contrast checker → · Palette generator →

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