#3256AB#3256AB

#3256AB is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.4% C 0.143 H 264.4°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#3256AB
RGBrgb(50, 86, 171)
HSLhsl(222, 55%, 43%)
HSVhsv(222, 71%, 67%)
CMYKcmyk(70.8%, 49.7%, 0%, 32.9%)
CIE-LABlab(38.33, 16.60, -49.42)
CIE-LCHlch(38.33, 52.13, 288.57°)
OKLaboklab(47.41% -0.014 -0.1418)
OKLCHoklch(47.41% 0.143 264.4)
XYZxyz(11.9913, 10.2727, 39.8711)
Luminance0.1027 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3256AB #AB8732
analogous
#3292AB #3256AB #4A32AB
triadic
#3256AB #AB3256 #56AB32
tetradic
#3256AB #AB3292 #AB8732 #32AB4A
square
#3256AB #AB3292 #AB8732 #32AB4A
split-complementary
#3256AB #AB4A32 #92AB32
monochromatic
#16264C #243E7C #3256AB #4F74CB #7E99D9

Accessibility & contrast

On white

6.87
#3256AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#3256AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3256AB
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3256AB#FFFFFF#000000##FFFFFF
##3256AB1.006.873.056.87
#FFFFFF6.871.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2660AE
Deuteranopia (green-blind)
#0055A9
Tritanopia (blue-blind)
#006A78
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3256ab;
/* rgb */ color: rgb(50, 86, 171);
/* oklch */ color: oklch(47.4% 0.143 264.4);
Tailwind
colors: {
  custom: {
    50: '#7985c5',
    500: '#3256ab',
    950: '#000000',
  },
}
SCSS
$custom: #3256ab;
$custom-light: #7985c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3256ab",
  "rgb": {
    "r": 50,
    "g": 86,
    "b": 171
  },
  "hsl": {
    "h": 222.149,
    "s": 54.751,
    "l": 43.333
  },
  "oklch": {
    "l": 0.47412,
    "c": 0.14251,
    "h": 264.4
  },
  "luminance": 0.10274
}

Semantic roles & 50–950 ramp

primary
#3256AB
secondary
#C2AC77
accent
#B24ADE
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #3256AB

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

Preview Lab → · Contrast checker → · Palette generator →

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