#3252B2#3252B2

#3252B2 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.1% C 0.157 H 266.4°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#3252B2
RGBrgb(50, 82, 178)
HSLhsl(225, 56%, 45%)
HSVhsv(225, 72%, 70%)
CMYKcmyk(71.9%, 53.9%, 0%, 30.2%)
CIE-LABlab(37.71, 21.85, -54.56)
CIE-LCHlch(37.71, 58.77, 291.83°)
OKLaboklab(47.1% -0.0098 -0.157)
OKLCHoklch(47.1% 0.157 266.4)
XYZxyz(12.3658, 9.9258, 43.3750)
Luminance0.0993 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3252B2 #B29232
analogous
#3292B2 #3252B2 #5232B2
triadic
#3252B2 #B23252 #52B232
tetradic
#3252B2 #B23292 #B29232 #32B252
square
#3252B2 #B23292 #B29232 #32B252
split-complementary
#3252B2 #B25232 #92B232
monochromatic
#172652 #253C82 #3252B2 #5372CF #8299DC

Accessibility & contrast

On white

7.03
#3252B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#3252B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3252B2
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3252B2#FFFFFF#000000##FFFFFF
##3252B21.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#085FB5
Deuteranopia (green-blind)
#0053B0
Tritanopia (blue-blind)
#00697A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3252b2;
/* rgb */ color: rgb(50, 82, 178);
/* oklch */ color: oklch(47.1% 0.157 266.4);
Tailwind
colors: {
  custom: {
    50: '#7b82ca',
    500: '#3252b2',
    950: '#000000',
  },
}
SCSS
$custom: #3252b2;
$custom-light: #7b82ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3252b2",
  "rgb": {
    "r": 50,
    "g": 82,
    "b": 178
  },
  "hsl": {
    "h": 225,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.47098,
    "c": 0.15732,
    "h": 266.4
  },
  "luminance": 0.09927
}

Semantic roles & 50–950 ramp

primary
#3252B2
secondary
#C5B37B
accent
#BA48DF
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3252B2

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

Preview Lab → · Contrast checker → · Palette generator →

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