#3252AB#3252AB

#3252AB is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.6% C 0.148 H 266.0°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#3252AB
RGBrgb(50, 82, 171)
HSLhsl(224, 55%, 43%)
HSVhsv(224, 71%, 67%)
CMYKcmyk(70.8%, 52%, 0%, 32.9%)
CIE-LABlab(37.21, 19.23, -51.22)
CIE-LCHlch(37.21, 54.71, 290.58°)
OKLaboklab(46.56% -0.0104 -0.1472)
OKLCHoklch(46.56% 0.148 266)
XYZxyz(11.6808, 9.6518, 39.7676)
Luminance0.0965 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3252AB #AB8B32
analogous
#328EAB #3252AB #4E32AB
triadic
#3252AB #AB3252 #52AB32
tetradic
#3252AB #AB328E #AB8B32 #32AB4E
square
#3252AB #AB328E #AB8B32 #32AB4E
split-complementary
#3252AB #AB4E32 #8EAB32
monochromatic
#16254C #243B7C #3252AB #4F70CB #7E96D9

Accessibility & contrast

On white

7.17
#3252AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#3252AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3252AB
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3252AB#FFFFFF#000000##FFFFFF
##3252AB1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A5DAE
Deuteranopia (green-blind)
#0052A9
Tritanopia (blue-blind)
#006776
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3252ab;
/* rgb */ color: rgb(50, 82, 171);
/* oklch */ color: oklch(46.6% 0.148 266.0);
Tailwind
colors: {
  custom: {
    50: '#7982c5',
    500: '#3252ab',
    950: '#000000',
  },
}
SCSS
$custom: #3252ab;
$custom-light: #7982c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3252ab",
  "rgb": {
    "r": 50,
    "g": 82,
    "b": 171
  },
  "hsl": {
    "h": 224.132,
    "s": 54.751,
    "l": 43.333
  },
  "oklch": {
    "l": 0.46562,
    "c": 0.14756,
    "h": 266
  },
  "luminance": 0.09653
}

Semantic roles & 50–950 ramp

primary
#3252AB
secondary
#C2AE77
accent
#B74ADE
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #3252AB

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

Preview Lab → · Contrast checker → · Palette generator →

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