#3257A2#3257A2

#3257A2 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.0% C 0.129 H 262.7°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#3257A2
RGBrgb(50, 87, 162)
HSLhsl(220, 53%, 42%)
HSVhsv(220, 69%, 64%)
CMYKcmyk(69.1%, 46.3%, 0%, 36.5%)
CIE-LABlab(38.02, 12.58, -44.55)
CIE-LCHlch(38.02, 46.29, 285.76°)
OKLaboklab(46.99% -0.0163 -0.1275)
OKLCHoklch(46.99% 0.129 262.7)
XYZxyz(11.2429, 10.1020, 35.5328)
Luminance0.1010 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3257A2 #A27D32
analogous
#328FA2 #3257A2 #4532A2
triadic
#3257A2 #A23257 #57A232
tetradic
#3257A2 #A2328F #A27D32 #32A245
square
#3257A2 #A2328F #A27D32 #32A245
split-complementary
#3257A2 #A24532 #8FA232
monochromatic
#152544 #243E73 #3257A2 #4A73C7 #7997D6

Accessibility & contrast

On white

6.95
#3257A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#3257A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3257A2
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3257A2#FFFFFF#000000##FFFFFF
##3257A21.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315FA5
Deuteranopia (green-blind)
#1C55A0
Tritanopia (blue-blind)
#006874
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3257a2;
/* rgb */ color: rgb(50, 87, 162);
/* oklch */ color: oklch(47.0% 0.129 262.7);
Tailwind
colors: {
  custom: {
    50: '#7785be',
    500: '#3257a2',
    950: '#000000',
  },
}
SCSS
$custom: #3257a2;
$custom-light: #7785be;
$custom-dark: #000000;
JSON
{
  "hex": "#3257a2",
  "rgb": {
    "r": 50,
    "g": 87,
    "b": 162
  },
  "hsl": {
    "h": 220.179,
    "s": 52.83,
    "l": 41.569
  },
  "oklch": {
    "l": 0.46992,
    "c": 0.12852,
    "h": 262.7
  },
  "luminance": 0.10103
}

Semantic roles & 50–950 ramp

primary
#3257A2
secondary
#BEA572
accent
#AC4CDC
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #3257A2

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

Preview Lab → · Contrast checker → · Palette generator →

#3257A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva