#3255A4#3255A4

#3255A4 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 46.7% C 0.134 H 264.0°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#3255A4
RGBrgb(50, 85, 164)
HSLhsl(222, 53%, 42%)
HSVhsv(222, 70%, 64%)
CMYKcmyk(69.5%, 48.2%, 0%, 35.7%)
CIE-LABlab(37.58, 14.64, -46.46)
CIE-LCHlch(37.58, 48.71, 287.49°)
OKLaboklab(46.69% -0.014 -0.1331)
OKLCHoklch(46.69% 0.134 264)
XYZxyz(11.2624, 9.8543, 36.4233)
Luminance0.0985 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3255A4 #A48132
analogous
#328EA4 #3255A4 #4832A4
triadic
#3255A4 #A43255 #55A432
tetradic
#3255A4 #A4328E #A48132 #32A448
square
#3255A4 #A4328E #A48132 #32A448
split-complementary
#3255A4 #A44832 #8EA432
monochromatic
#152446 #243D75 #3255A4 #4B71C8 #7A96D6

Accessibility & contrast

On white

7.07
#3255A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#3255A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3255A4
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3255A4#FFFFFF#000000##FFFFFF
##3255A41.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5EA7
Deuteranopia (green-blind)
#1054A2
Tritanopia (blue-blind)
#006774
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3255a4;
/* rgb */ color: rgb(50, 85, 164);
/* oklch */ color: oklch(46.7% 0.134 264.0);
Tailwind
colors: {
  custom: {
    50: '#7884bf',
    500: '#3255a4',
    950: '#000000',
  },
}
SCSS
$custom: #3255a4;
$custom-light: #7884bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3255a4",
  "rgb": {
    "r": 50,
    "g": 85,
    "b": 164
  },
  "hsl": {
    "h": 221.579,
    "s": 53.271,
    "l": 41.961
  },
  "oklch": {
    "l": 0.46692,
    "c": 0.13387,
    "h": 264
  },
  "luminance": 0.09855
}

Semantic roles & 50–950 ramp

primary
#3255A4
secondary
#BFA873
accent
#B04BDD
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #3255A4

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

Preview Lab → · Contrast checker → · Palette generator →

#3255A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva