#3252BB#3252BB

#3252BB is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.8% C 0.170 H 266.9°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#3252BB
RGBrgb(50, 82, 187)
HSLhsl(226, 58%, 46%)
HSVhsv(226, 73%, 73%)
CMYKcmyk(73.3%, 56.1%, 0%, 26.7%)
CIE-LABlab(38.37, 25.21, -58.77)
CIE-LCHlch(38.37, 63.95, 293.21°)
OKLaboklab(47.81% -0.0092 -0.1694)
OKLCHoklch(47.81% 0.17 266.9)
XYZxyz(13.2992, 10.2991, 48.2911)
Luminance0.1030 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3252BB #BB9B32
analogous
#3297BB #3252BB #5632BB
triadic
#3252BB #BB3252 #52BB32
tetradic
#3252BB #BB3297 #BB9B32 #32BB56
square
#3252BB #BB3297 #BB9B32 #32BB56
split-complementary
#3252BB #BB5632 #97BB32
monochromatic
#18285A #253D8B #3252BB #5874D2 #889DDF

Accessibility & contrast

On white

6.86
#3252BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#3252BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3252BB
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3252BB#FFFFFF#000000##FFFFFF
##3252BB1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BF
Deuteranopia (green-blind)
#0054B9
Tritanopia (blue-blind)
#006C7E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3252bb;
/* rgb */ color: rgb(50, 82, 187);
/* oklch */ color: oklch(47.8% 0.170 266.9);
Tailwind
colors: {
  custom: {
    50: '#7d82d0',
    500: '#3252bb',
    950: '#000000',
  },
}
SCSS
$custom: #3252bb;
$custom-light: #7d82d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3252bb",
  "rgb": {
    "r": 50,
    "g": 82,
    "b": 187
  },
  "hsl": {
    "h": 225.985,
    "s": 57.806,
    "l": 46.471
  },
  "oklch": {
    "l": 0.47809,
    "c": 0.16966,
    "h": 266.9
  },
  "luminance": 0.10301
}

Semantic roles & 50–950 ramp

primary
#3252BB
secondary
#C9B880
accent
#BD47E1
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #3252BB

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

Preview Lab → · Contrast checker → · Palette generator →

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