#4252C3#4252C3

#4252C3 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.3% C 0.176 H 272.1°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#4252C3
RGBrgb(66, 82, 195)
HSLhsl(233, 52%, 51%)
HSVhsv(233, 66%, 76%)
CMYKcmyk(66.2%, 57.9%, 0%, 23.5%)
CIE-LABlab(39.80, 30.34, -61.09)
CIE-LCHlch(39.80, 68.21, 296.41°)
OKLaboklab(49.29% 0.0066 -0.1759)
OKLCHoklch(49.29% 0.176 272.1)
XYZxyz(15.1111, 11.1316, 52.9714)
Luminance0.1113 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4252C3 #C3B342
analogous
#4292C3 #4252C3 #7242C3
triadic
#4252C3 #C34252 #52C342
tetradic
#4252C3 #C34292 #C3B342 #42C372
square
#4252C3 #C34292 #C3B342 #42C372
split-complementary
#4252C3 #C37242 #92C342
monochromatic
#212A69 #303D98 #4252C3 #707DD2 #9FA7E0

Accessibility & contrast

On white

6.51
#4252C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#4252C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4252C3
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4252C3#FFFFFF#000000##FFFFFF
##4252C31.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C7
Deuteranopia (green-blind)
#0058C1
Tritanopia (blue-blind)
#006E82
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4252c3;
/* rgb */ color: rgb(66, 82, 195);
/* oklch */ color: oklch(49.3% 0.176 272.1);
Tailwind
colors: {
  custom: {
    50: '#8582d6',
    500: '#4252c3',
    950: '#000000',
  },
}
SCSS
$custom: #4252c3;
$custom-light: #8582d6;
$custom-dark: #000000;
JSON
{
  "hex": "#4252c3",
  "rgb": {
    "r": 66,
    "g": 82,
    "b": 195
  },
  "hsl": {
    "h": 232.558,
    "s": 51.807,
    "l": 51.176
  },
  "oklch": {
    "l": 0.49289,
    "c": 0.17599,
    "h": 272.1
  },
  "luminance": 0.11133
}

Semantic roles & 50–950 ramp

primary
#4252C3
secondary
#CDC694
accent
#CA4DDB
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #4252C3

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

Preview Lab → · Contrast checker → · Palette generator →

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