#4252D3#4252D3

#4252D3 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.6% C 0.197 H 271.9°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#4252D3
RGBrgb(66, 82, 211)
HSLhsl(233, 62%, 54%)
HSVhsv(233, 69%, 83%)
CMYKcmyk(68.7%, 61.1%, 0%, 17.3%)
CIE-LABlab(41.05, 35.92, -68.31)
CIE-LCHlch(41.05, 77.18, 297.73°)
OKLaboklab(50.6% 0.0064 -0.1971)
OKLCHoklch(50.6% 0.197 271.9)
XYZxyz(17.0180, 11.8944, 63.0144)
Luminance0.1190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4252D3 #D3C342
analogous
#429BD3 #4252D3 #7A42D3
triadic
#4252D3 #D34252 #52D342
tetradic
#4252D3 #D3429B #D3C342 #42D37A
square
#4252D3 #D3429B #D3C342 #42D37A
split-complementary
#4252D3 #D37A42 #9BD342
monochromatic
#1D287D #2938AF #4252D3 #747FDF #A5ADEA

Accessibility & contrast

On white

6.21
#4252D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#4252D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4252D3
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4252D3#FFFFFF#000000##FFFFFF
##4252D31.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D7
Deuteranopia (green-blind)
#005AD0
Tritanopia (blue-blind)
#00738B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4252d3;
/* rgb */ color: rgb(66, 82, 211);
/* oklch */ color: oklch(50.6% 0.197 271.9);
Tailwind
colors: {
  custom: {
    50: '#8882e1',
    500: '#4252d3',
    950: '#000000',
  },
}
SCSS
$custom: #4252d3;
$custom-light: #8882e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4252d3",
  "rgb": {
    "r": 66,
    "g": 82,
    "b": 211
  },
  "hsl": {
    "h": 233.379,
    "s": 62.232,
    "l": 54.314
  },
  "oklch": {
    "l": 0.50603,
    "c": 0.19719,
    "h": 271.9
  },
  "luminance": 0.11896
}

Semantic roles & 50–950 ramp

primary
#4252D3
secondary
#D7D09A
accent
#D342E5
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4252D3

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

Preview Lab → · Contrast checker → · Palette generator →

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