#3252B8#3252B8

#3252B8 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.6% C 0.166 H 266.8°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#3252B8
RGBrgb(50, 82, 184)
HSLhsl(226, 57%, 46%)
HSVhsv(226, 73%, 72%)
CMYKcmyk(72.8%, 55.4%, 0%, 27.8%)
CIE-LABlab(38.15, 24.09, -57.38)
CIE-LCHlch(38.15, 62.23, 292.77°)
OKLaboklab(47.57% -0.0093 -0.1653)
OKLCHoklch(47.57% 0.166 266.8)
XYZxyz(12.9814, 10.1720, 46.6174)
Luminance0.1017 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3252B8 #B89832
analogous
#3295B8 #3252B8 #5532B8
triadic
#3252B8 #B83252 #52B832
tetradic
#3252B8 #B83295 #B89832 #32B855
square
#3252B8 #B83295 #B89832 #32B855
split-complementary
#3252B8 #B85532 #95B832
monochromatic
#182758 #253D88 #3252B8 #5673D1 #869BDE

Accessibility & contrast

On white

6.92
#3252B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#3252B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3252B8
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3252B8#FFFFFF#000000##FFFFFF
##3252B81.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BC
Deuteranopia (green-blind)
#0054B6
Tritanopia (blue-blind)
#006B7D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3252b8;
/* rgb */ color: rgb(50, 82, 184);
/* oklch */ color: oklch(47.6% 0.166 266.8);
Tailwind
colors: {
  custom: {
    50: '#7c82ce',
    500: '#3252b8',
    950: '#000000',
  },
}
SCSS
$custom: #3252b8;
$custom-light: #7c82ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3252b8",
  "rgb": {
    "r": 50,
    "g": 82,
    "b": 184
  },
  "hsl": {
    "h": 225.672,
    "s": 57.265,
    "l": 45.882
  },
  "oklch": {
    "l": 0.4757,
    "c": 0.16557,
    "h": 266.8
  },
  "luminance": 0.10173
}

Semantic roles & 50–950 ramp

primary
#3252B8
secondary
#C8B67E
accent
#BC47E1
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #3252B8

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

Preview Lab → · Contrast checker → · Palette generator →

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