#4252B2#4252B2

#4252B2 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.0% C 0.153 H 272.2°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#4252B2
RGBrgb(66, 82, 178)
HSLhsl(231, 46%, 48%)
HSVhsv(231, 63%, 70%)
CMYKcmyk(62.9%, 53.9%, 0%, 30.2%)
CIE-LABlab(38.56, 24.38, -53.14)
CIE-LCHlch(38.56, 58.47, 294.65°)
OKLaboklab(47.97% 0.006 -0.1525)
OKLCHoklch(47.97% 0.153 272.2)
XYZxyz(13.2973, 10.4061, 43.4187)
Luminance0.1041 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4252B2 #B2A242
analogous
#428AB2 #4252B2 #6A42B2
triadic
#4252B2 #B24252 #52B242
tetradic
#4252B2 #B2428A #B2A242 #42B26A
square
#4252B2 #B2428A #B2A242 #42B26A
split-complementary
#4252B2 #B26A42 #8AB242
monochromatic
#212959 #313D85 #4252B2 #6A77C8 #96A0D8

Accessibility & contrast

On white

6.82
#4252B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#4252B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4252B2
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4252B2#FFFFFF#000000##FFFFFF
##4252B21.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1260B5
Deuteranopia (green-blind)
#0056B0
Tritanopia (blue-blind)
#00697A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4252b2;
/* rgb */ color: rgb(66, 82, 178);
/* oklch */ color: oklch(48.0% 0.153 272.2);
Tailwind
colors: {
  custom: {
    50: '#8282ca',
    500: '#4252b2',
    950: '#000000',
  },
}
SCSS
$custom: #4252b2;
$custom-light: #8282ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4252b2",
  "rgb": {
    "r": 66,
    "g": 82,
    "b": 178
  },
  "hsl": {
    "h": 231.429,
    "s": 45.902,
    "l": 47.843
  },
  "oklch": {
    "l": 0.4797,
    "c": 0.1526,
    "h": 272.2
  },
  "luminance": 0.10407
}

Semantic roles & 50–950 ramp

primary
#4252B2
secondary
#C4BC8C
accent
#C352D6
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #4252B2

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

Preview Lab → · Contrast checker → · Palette generator →

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