#4252D5#4252D5

#4252D5 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.8% C 0.200 H 271.8°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#4252D5
RGBrgb(66, 82, 213)
HSLhsl(233, 64%, 55%)
HSVhsv(233, 69%, 84%)
CMYKcmyk(69%, 61.5%, 0%, 16.5%)
CIE-LABlab(41.21, 36.61, -69.20)
CIE-LCHlch(41.21, 78.28, 297.88°)
OKLaboklab(50.77% 0.0064 -0.1997)
OKLCHoklch(50.77% 0.2 271.8)
XYZxyz(17.2702, 11.9953, 64.3431)
Luminance0.1200 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4252D5 #D5C542
analogous
#429CD5 #4252D5 #7B42D5
triadic
#4252D5 #D54252 #52D542
tetradic
#4252D5 #D5429C #D5C542 #42D57B
square
#4252D5 #D5429C #D5C542 #42D57B
split-complementary
#4252D5 #D57B42 #9CD542
monochromatic
#1C2780 #2837B2 #4252D5 #7480E0 #A6AEEB

Accessibility & contrast

On white

6.18
#4252D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#4252D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4252D5
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4252D5#FFFFFF#000000##FFFFFF
##4252D51.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D9
Deuteranopia (green-blind)
#005BD2
Tritanopia (blue-blind)
#00738C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4252d5;
/* rgb */ color: rgb(66, 82, 213);
/* oklch */ color: oklch(50.8% 0.200 271.8);
Tailwind
colors: {
  custom: {
    50: '#8982e3',
    500: '#4252d5',
    950: '#000000',
  },
}
SCSS
$custom: #4252d5;
$custom-light: #8982e3;
$custom-dark: #000000;
JSON
{
  "hex": "#4252d5",
  "rgb": {
    "r": 66,
    "g": 82,
    "b": 213
  },
  "hsl": {
    "h": 233.469,
    "s": 63.636,
    "l": 54.706
  },
  "oklch": {
    "l": 0.50771,
    "c": 0.19979,
    "h": 271.8
  },
  "luminance": 0.11997
}

Semantic roles & 50–950 ramp

primary
#4252D5
secondary
#D8D29A
accent
#D541E7
background
#F9F8FE
surface
#F1EFFC
border
#CBCAD5
text
#0D0A16
muted
#7E7C84

Preview Lab

Preview with #4252D5

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

Preview Lab → · Contrast checker → · Palette generator →

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