#3256A5#3256A5

#3256A5 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.0% C 0.134 H 263.6°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#3256A5
RGBrgb(50, 86, 165)
HSLhsl(221, 53%, 42%)
HSVhsv(221, 70%, 65%)
CMYKcmyk(69.7%, 47.9%, 0%, 35.3%)
CIE-LABlab(37.93, 14.35, -46.49)
CIE-LCHlch(37.93, 48.66, 287.16°)
OKLaboklab(46.98% -0.0148 -0.1332)
OKLCHoklch(46.98% 0.134 263.6)
XYZxyz(11.4323, 10.0491, 36.9272)
Luminance0.1005 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3256A5 #A58132
analogous
#3290A5 #3256A5 #4732A5
triadic
#3256A5 #A53256 #56A532
tetradic
#3256A5 #A53290 #A58132 #32A547
square
#3256A5 #A53290 #A58132 #32A547
split-complementary
#3256A5 #A54732 #90A532
monochromatic
#162547 #243E76 #3256A5 #4C73C9 #7B97D7

Accessibility & contrast

On white

6.98
#3256A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#3256A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3256A5
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3256A5#FFFFFF#000000##FFFFFF
##3256A51.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5FA8
Deuteranopia (green-blind)
#1254A3
Tritanopia (blue-blind)
#006875
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3256a5;
/* rgb */ color: rgb(50, 86, 165);
/* oklch */ color: oklch(47.0% 0.134 263.6);
Tailwind
colors: {
  custom: {
    50: '#7885c0',
    500: '#3256a5',
    950: '#000000',
  },
}
SCSS
$custom: #3256a5;
$custom-light: #7885c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3256a5",
  "rgb": {
    "r": 50,
    "g": 86,
    "b": 165
  },
  "hsl": {
    "h": 221.217,
    "s": 53.488,
    "l": 42.157
  },
  "oklch": {
    "l": 0.46981,
    "c": 0.13404,
    "h": 263.6
  },
  "luminance": 0.1005
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3256A5

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

Preview Lab → · Contrast checker → · Palette generator →

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