#3256BA#3256BA

#3256BA is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.5% C 0.163 H 265.6°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#3256BA
RGBrgb(50, 86, 186)
HSLhsl(224, 58%, 46%)
HSVhsv(224, 73%, 73%)
CMYKcmyk(73.1%, 53.8%, 0%, 27.1%)
CIE-LABlab(39.37, 22.22, -56.57)
CIE-LCHlch(39.37, 60.77, 291.44°)
OKLaboklab(48.54% -0.0124 -0.1629)
OKLCHoklch(48.54% 0.163 265.6)
XYZxyz(13.5030, 10.8774, 47.8328)
Luminance0.1088 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3256BA #BA9632
analogous
#329ABA #3256BA #5232BA
triadic
#3256BA #BA3256 #56BA32
tetradic
#3256BA #BA329A #BA9632 #32BA52
square
#3256BA #BA329A #BA9632 #32BA52
split-complementary
#3256BA #BA5232 #9ABA32
monochromatic
#18295A #25408A #3256BA #5778D2 #889FDF

Accessibility & contrast

On white

6.61
#3256BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#3256BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3256BA
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3256BA#FFFFFF#000000##FFFFFF
##3256BA1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0763BE
Deuteranopia (green-blind)
#0057B8
Tritanopia (blue-blind)
#006E7F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3256ba;
/* rgb */ color: rgb(50, 86, 186);
/* oklch */ color: oklch(48.5% 0.163 265.6);
Tailwind
colors: {
  custom: {
    50: '#7c85cf',
    500: '#3256ba',
    950: '#000000',
  },
}
SCSS
$custom: #3256ba;
$custom-light: #7c85cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3256ba",
  "rgb": {
    "r": 50,
    "g": 86,
    "b": 186
  },
  "hsl": {
    "h": 224.118,
    "s": 57.627,
    "l": 46.275
  },
  "oklch": {
    "l": 0.48539,
    "c": 0.16333,
    "h": 265.6
  },
  "luminance": 0.10879
}

Semantic roles & 50–950 ramp

primary
#3256BA
secondary
#C9B57F
accent
#B847E1
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #3256BA

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

Preview Lab → · Contrast checker → · Palette generator →

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