#4252BB#4252BB

#4252BB is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.7% C 0.165 H 272.2°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#4252BB
RGBrgb(66, 82, 187)
HSLhsl(232, 48%, 50%)
HSVhsv(232, 65%, 73%)
CMYKcmyk(64.7%, 56.1%, 0%, 26.7%)
CIE-LABlab(39.21, 27.54, -57.38)
CIE-LCHlch(39.21, 63.65, 295.64°)
OKLaboklab(48.66% 0.0064 -0.165)
OKLCHoklch(48.66% 0.165 272.2)
XYZxyz(14.2307, 10.7794, 48.3348)
Luminance0.1078 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4252BB #BBAB42
analogous
#428FBB #4252BB #6F42BB
triadic
#4252BB #BB4252 #52BB42
tetradic
#4252BB #BB428F #BBAB42 #42BB6F
square
#4252BB #BB428F #BBAB42 #42BB6F
split-complementary
#4252BB #BB6F42 #8FBB42
monochromatic
#222A61 #323E8E #4252BB #6E7BCC #9CA4DC

Accessibility & contrast

On white

6.65
#4252BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#4252BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4252BB
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4252BB#FFFFFF#000000##FFFFFF
##4252BB1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BF
Deuteranopia (green-blind)
#0057B9
Tritanopia (blue-blind)
#006B7E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4252bb;
/* rgb */ color: rgb(66, 82, 187);
/* oklch */ color: oklch(48.7% 0.165 272.2);
Tailwind
colors: {
  custom: {
    50: '#8382d0',
    500: '#4252bb',
    950: '#000000',
  },
}
SCSS
$custom: #4252bb;
$custom-light: #8382d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4252bb",
  "rgb": {
    "r": 66,
    "g": 82,
    "b": 187
  },
  "hsl": {
    "h": 232.066,
    "s": 47.826,
    "l": 49.608
  },
  "oklch": {
    "l": 0.48658,
    "c": 0.1651,
    "h": 272.2
  },
  "luminance": 0.10781
}

Semantic roles & 50–950 ramp

primary
#4252BB
secondary
#C8C191
accent
#C650D7
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A14
muted
#7D7C82

Preview Lab

Preview with #4252BB

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

Preview Lab → · Contrast checker → · Palette generator →

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