#3256C5#3256C5

#3256C5 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.4% C 0.178 H 266.2°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#3256C5
RGBrgb(50, 86, 197)
HSLhsl(225, 60%, 48%)
HSVhsv(225, 75%, 77%)
CMYKcmyk(74.6%, 56.3%, 0%, 22.7%)
CIE-LABlab(40.19, 26.32, -61.66)
CIE-LCHlch(40.19, 67.04, 293.11°)
OKLaboklab(49.41% -0.0117 -0.1778)
OKLCHoklch(49.41% 0.178 266.2)
XYZxyz(14.7177, 11.3633, 54.2302)
Luminance0.1137 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3256C5 #C5A132
analogous
#329FC5 #3256C5 #5732C5
triadic
#3256C5 #C53256 #56C532
tetradic
#3256C5 #C5329F #C5A132 #32C557
square
#3256C5 #C5329F #C5A132 #32C557
split-complementary
#3256C5 #C55732 #9FC532
monochromatic
#192B63 #264194 #3256C5 #5E7BD6 #8FA3E3

Accessibility & contrast

On white

6.42
#3256C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#3256C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3256C5
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3256C5#FFFFFF#000000##FFFFFF
##3256C51.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C9
Deuteranopia (green-blind)
#0058C3
Tritanopia (blue-blind)
#007185
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3256c5;
/* rgb */ color: rgb(50, 86, 197);
/* oklch */ color: oklch(49.4% 0.178 266.2);
Tailwind
colors: {
  custom: {
    50: '#7f85d7',
    500: '#3256c5',
    950: '#000000',
  },
}
SCSS
$custom: #3256c5;
$custom-light: #7f85d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3256c5",
  "rgb": {
    "r": 50,
    "g": 86,
    "b": 197
  },
  "hsl": {
    "h": 225.306,
    "s": 59.514,
    "l": 48.431
  },
  "oklch": {
    "l": 0.49408,
    "c": 0.17822,
    "h": 266.2
  },
  "luminance": 0.11365
}

Semantic roles & 50–950 ramp

primary
#3256C5
secondary
#CDBC86
accent
#BC45E3
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #3256C5

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

Preview Lab → · Contrast checker → · Palette generator →

#3256C5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva