#3256B5#3256B5

#3256B5 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.2% C 0.156 H 265.3°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#3256B5
RGBrgb(50, 86, 181)
HSLhsl(224, 57%, 45%)
HSVhsv(224, 72%, 71%)
CMYKcmyk(72.4%, 52.5%, 0%, 29%)
CIE-LABlab(39.02, 20.35, -54.21)
CIE-LCHlch(39.02, 57.90, 290.57°)
OKLaboklab(48.16% -0.0128 -0.1559)
OKLCHoklch(48.16% 0.156 265.3)
XYZxyz(12.9807, 10.6685, 45.0822)
Luminance0.1067 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3256B5 #B59132
analogous
#3298B5 #3256B5 #4F32B5
triadic
#3256B5 #B53256 #56B532
tetradic
#3256B5 #B53298 #B59132 #32B54F
square
#3256B5 #B53298 #B59132 #32B54F
split-complementary
#3256B5 #B54F32 #98B532
monochromatic
#182855 #253F85 #3256B5 #5476D0 #849DDD

Accessibility & contrast

On white

6.70
#3256B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#3256B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3256B5
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3256B5#FFFFFF#000000##FFFFFF
##3256B51.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1662B8
Deuteranopia (green-blind)
#0056B3
Tritanopia (blue-blind)
#006D7D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3256b5;
/* rgb */ color: rgb(50, 86, 181);
/* oklch */ color: oklch(48.2% 0.156 265.3);
Tailwind
colors: {
  custom: {
    50: '#7b85cc',
    500: '#3256b5',
    950: '#000000',
  },
}
SCSS
$custom: #3256b5;
$custom-light: #7b85cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3256b5",
  "rgb": {
    "r": 50,
    "g": 86,
    "b": 181
  },
  "hsl": {
    "h": 223.511,
    "s": 56.71,
    "l": 45.294
  },
  "oklch": {
    "l": 0.48156,
    "c": 0.15646,
    "h": 265.3
  },
  "luminance": 0.1067
}

Semantic roles & 50–950 ramp

primary
#3256B5
secondary
#C7B27C
accent
#B648E0
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #3256B5

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

Preview Lab → · Contrast checker → · Palette generator →

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