#3256B2#3256B2

#3256B2 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 47.9% C 0.152 H 265.0°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#3256B2
RGBrgb(50, 86, 178)
HSLhsl(223, 56%, 45%)
HSVhsv(223, 72%, 70%)
CMYKcmyk(71.9%, 51.7%, 0%, 30.2%)
CIE-LABlab(38.81, 19.22, -52.78)
CIE-LCHlch(38.81, 56.18, 290.01°)
OKLaboklab(47.93% -0.0132 -0.1517)
OKLCHoklch(47.93% 0.152 265)
XYZxyz(12.6762, 10.5467, 43.4785)
Luminance0.1055 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3256B2 #B28E32
analogous
#3296B2 #3256B2 #4E32B2
triadic
#3256B2 #B23256 #56B232
tetradic
#3256B2 #B23296 #B28E32 #32B24E
square
#3256B2 #B23296 #B28E32 #32B24E
split-complementary
#3256B2 #B24E32 #96B232
monochromatic
#172852 #253F82 #3256B2 #5375CF #829CDC

Accessibility & contrast

On white

6.75
#3256B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#3256B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3256B2
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3256B2#FFFFFF#000000##FFFFFF
##3256B21.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C62B5
Deuteranopia (green-blind)
#0056B0
Tritanopia (blue-blind)
#006C7B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3256b2;
/* rgb */ color: rgb(50, 86, 178);
/* oklch */ color: oklch(47.9% 0.152 265.0);
Tailwind
colors: {
  custom: {
    50: '#7a85ca',
    500: '#3256b2',
    950: '#000000',
  },
}
SCSS
$custom: #3256b2;
$custom-light: #7a85ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3256b2",
  "rgb": {
    "r": 50,
    "g": 86,
    "b": 178
  },
  "hsl": {
    "h": 223.125,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.47929,
    "c": 0.1523,
    "h": 265
  },
  "luminance": 0.10548
}

Semantic roles & 50–950 ramp

primary
#3256B2
secondary
#C5B07B
accent
#B548DF
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #3256B2

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

Preview Lab → · Contrast checker → · Palette generator →

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