#3256A6#3256A6

#3256A6 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.1% C 0.135 H 263.8°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#3256A6
RGBrgb(50, 86, 166)
HSLhsl(221, 54%, 42%)
HSVhsv(221, 70%, 65%)
CMYKcmyk(69.9%, 48.2%, 0%, 34.9%)
CIE-LABlab(38.00, 14.73, -46.98)
CIE-LCHlch(38.00, 49.24, 287.41°)
OKLaboklab(47.05% -0.0147 -0.1346)
OKLCHoklch(47.05% 0.135 263.8)
XYZxyz(11.5237, 10.0857, 37.4084)
Luminance0.1009 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3256A6 #A68232
analogous
#3290A6 #3256A6 #4832A6
triadic
#3256A6 #A63256 #56A632
tetradic
#3256A6 #A63290 #A68232 #32A648
square
#3256A6 #A63290 #A68232 #32A648
split-complementary
#3256A6 #A64832 #90A632
monochromatic
#162548 #243E77 #3256A6 #4C73C9 #7B98D7

Accessibility & contrast

On white

6.96
#3256A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#3256A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3256A6
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3256A6#FFFFFF#000000##FFFFFF
##3256A61.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5FA9
Deuteranopia (green-blind)
#0F54A4
Tritanopia (blue-blind)
#006976
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3256a6;
/* rgb */ color: rgb(50, 86, 166);
/* oklch */ color: oklch(47.1% 0.135 263.8);
Tailwind
colors: {
  custom: {
    50: '#7885c1',
    500: '#3256a6',
    950: '#000000',
  },
}
SCSS
$custom: #3256a6;
$custom-light: #7885c1;
$custom-dark: #000000;
JSON
{
  "hex": "#3256a6",
  "rgb": {
    "r": 50,
    "g": 86,
    "b": 166
  },
  "hsl": {
    "h": 221.379,
    "s": 53.704,
    "l": 42.353
  },
  "oklch": {
    "l": 0.47052,
    "c": 0.13545,
    "h": 263.8
  },
  "luminance": 0.10087
}

Semantic roles & 50–950 ramp

primary
#3256A6
secondary
#C0A874
accent
#B04BDD
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #3256A6

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

Preview Lab → · Contrast checker → · Palette generator →

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