#3252BF#3252BF

#3252BF is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.1% C 0.175 H 267.1°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#3252BF
RGBrgb(50, 82, 191)
HSLhsl(226, 59%, 47%)
HSVhsv(226, 74%, 75%)
CMYKcmyk(73.8%, 57.1%, 0%, 25.1%)
CIE-LABlab(38.68, 26.69, -60.62)
CIE-LCHlch(38.68, 66.24, 293.76°)
OKLaboklab(48.13% -0.009 -0.1748)
OKLCHoklch(48.13% 0.175 267.1)
XYZxyz(13.7334, 10.4728, 50.5778)
Luminance0.1047 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3252BF #BF9F32
analogous
#3299BF #3252BF #5932BF
triadic
#3252BF #BF3252 #52BF32
tetradic
#3252BF #BF3299 #BF9F32 #32BF59
square
#3252BF #BF3299 #BF9F32 #32BF59
split-complementary
#3252BF #BF5932 #99BF32
monochromatic
#19285E #253D8E #3252BF #5A76D4 #8B9EE1

Accessibility & contrast

On white

6.79
#3252BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#3252BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3252BF
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3252BF#FFFFFF#000000##FFFFFF
##3252BF1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C3
Deuteranopia (green-blind)
#0055BD
Tritanopia (blue-blind)
#006D80
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3252bf;
/* rgb */ color: rgb(50, 82, 191);
/* oklch */ color: oklch(48.1% 0.175 267.1);
Tailwind
colors: {
  custom: {
    50: '#7d82d3',
    500: '#3252bf',
    950: '#000000',
  },
}
SCSS
$custom: #3252bf;
$custom-light: #7d82d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3252bf",
  "rgb": {
    "r": 50,
    "g": 82,
    "b": 191
  },
  "hsl": {
    "h": 226.383,
    "s": 58.506,
    "l": 47.255
  },
  "oklch": {
    "l": 0.48133,
    "c": 0.17507,
    "h": 267.1
  },
  "luminance": 0.10474
}

Semantic roles & 50–950 ramp

primary
#3252BF
secondary
#CBBA82
accent
#BE46E2
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #3252BF

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

Preview Lab → · Contrast checker → · Palette generator →

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