#4252BF#4252BF

#4252BF is a mid, vivid blue. Relative luminance 0.110; OKLCH L 49.0% C 0.171 H 272.2°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#4252BF
RGBrgb(66, 82, 191)
HSLhsl(232, 49%, 50%)
HSVhsv(232, 65%, 75%)
CMYKcmyk(65.4%, 57.1%, 0%, 25.1%)
CIE-LABlab(39.50, 28.94, -59.24)
CIE-LCHlch(39.50, 65.94, 296.04°)
OKLaboklab(48.97% 0.0065 -0.1704)
OKLCHoklch(48.97% 0.171 272.2)
XYZxyz(14.6649, 10.9531, 50.6215)
Luminance0.1095 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4252BF #BFAF42
analogous
#4290BF #4252BF #7042BF
triadic
#4252BF #BF4252 #52BF42
tetradic
#4252BF #BF4290 #BFAF42 #42BF70
square
#4252BF #BF4290 #BFAF42 #42BF70
split-complementary
#4252BF #BF7042 #90BF42
monochromatic
#222B65 #323E92 #4252BF #707CCE #9DA6DE

Accessibility & contrast

On white

6.58
#4252BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#4252BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4252BF
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4252BF#FFFFFF#000000##FFFFFF
##4252BF1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C3
Deuteranopia (green-blind)
#0058BD
Tritanopia (blue-blind)
#006C80
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4252bf;
/* rgb */ color: rgb(66, 82, 191);
/* oklch */ color: oklch(49.0% 0.171 272.2);
Tailwind
colors: {
  custom: {
    50: '#8482d3',
    500: '#4252bf',
    950: '#000000',
  },
}
SCSS
$custom: #4252bf;
$custom-light: #8482d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4252bf",
  "rgb": {
    "r": 66,
    "g": 82,
    "b": 191
  },
  "hsl": {
    "h": 232.32,
    "s": 49.407,
    "l": 50.392
  },
  "oklch": {
    "l": 0.48971,
    "c": 0.17057,
    "h": 272.2
  },
  "luminance": 0.10954
}

Semantic roles & 50–950 ramp

primary
#4252BF
secondary
#CAC393
accent
#C74FD9
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #4252BF

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

Preview Lab → · Contrast checker → · Palette generator →

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