#3256A4#3256A4

#3256A4 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 46.9% C 0.133 H 263.5°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#3256A4
RGBrgb(50, 86, 164)
HSLhsl(221, 53%, 42%)
HSVhsv(221, 70%, 64%)
CMYKcmyk(69.5%, 47.6%, 0%, 35.7%)
CIE-LABlab(37.87, 13.98, -46.00)
CIE-LCHlch(37.87, 48.08, 286.91°)
OKLaboklab(46.91% -0.015 -0.1318)
OKLCHoklch(46.91% 0.133 263.5)
XYZxyz(11.3417, 10.0129, 36.4497)
Luminance0.1001 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3256A4 #A48032
analogous
#328FA4 #3256A4 #4732A4
triadic
#3256A4 #A43256 #56A432
tetradic
#3256A4 #A4328F #A48032 #32A447
square
#3256A4 #A4328F #A48032 #32A447
split-complementary
#3256A4 #A44732 #8FA432
monochromatic
#152546 #243D75 #3256A4 #4B73C8 #7A97D6

Accessibility & contrast

On white

6.99
#3256A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#3256A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3256A4
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3256A4#FFFFFF#000000##FFFFFF
##3256A41.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5FA7
Deuteranopia (green-blind)
#1454A2
Tritanopia (blue-blind)
#006875
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3256a4;
/* rgb */ color: rgb(50, 86, 164);
/* oklch */ color: oklch(46.9% 0.133 263.5);
Tailwind
colors: {
  custom: {
    50: '#7785bf',
    500: '#3256a4',
    950: '#000000',
  },
}
SCSS
$custom: #3256a4;
$custom-light: #7785bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3256a4",
  "rgb": {
    "r": 50,
    "g": 86,
    "b": 164
  },
  "hsl": {
    "h": 221.053,
    "s": 53.271,
    "l": 41.961
  },
  "oklch": {
    "l": 0.46911,
    "c": 0.13261,
    "h": 263.5
  },
  "luminance": 0.10014
}

Semantic roles & 50–950 ramp

primary
#3256A4
secondary
#BFA773
accent
#AF4BDD
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #3256A4

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

Preview Lab → · Contrast checker → · Palette generator →

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