#3255A3#3255A3

#3255A3 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.6% C 0.132 H 263.8°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#3255A3
RGBrgb(50, 85, 163)
HSLhsl(221, 53%, 42%)
HSVhsv(221, 69%, 64%)
CMYKcmyk(69.3%, 47.9%, 0%, 36.1%)
CIE-LABlab(37.51, 14.26, -45.97)
CIE-LCHlch(37.51, 48.13, 287.24°)
OKLaboklab(46.62% -0.0142 -0.1317)
OKLCHoklch(46.62% 0.132 263.8)
XYZxyz(11.1724, 9.8183, 35.9496)
Luminance0.0982 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3255A3 #A38032
analogous
#328EA3 #3255A3 #4832A3
triadic
#3255A3 #A33255 #55A332
tetradic
#3255A3 #A3328E #A38032 #32A348
square
#3255A3 #A3328E #A38032 #32A348
split-complementary
#3255A3 #A34832 #8EA332
monochromatic
#152445 #243D74 #3255A3 #4B71C8 #7996D6

Accessibility & contrast

On white

7.09
#3255A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#3255A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3255A3
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3255A3#FFFFFF#000000##FFFFFF
##3255A31.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5EA6
Deuteranopia (green-blind)
#1353A1
Tritanopia (blue-blind)
#006774
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3255a3;
/* rgb */ color: rgb(50, 85, 163);
/* oklch */ color: oklch(46.6% 0.132 263.8);
Tailwind
colors: {
  custom: {
    50: '#7784bf',
    500: '#3255a3',
    950: '#000000',
  },
}
SCSS
$custom: #3255a3;
$custom-light: #7784bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3255a3",
  "rgb": {
    "r": 50,
    "g": 85,
    "b": 163
  },
  "hsl": {
    "h": 221.416,
    "s": 53.052,
    "l": 41.765
  },
  "oklch": {
    "l": 0.46621,
    "c": 0.13244,
    "h": 263.8
  },
  "luminance": 0.09819
}

Semantic roles & 50–950 ramp

primary
#3255A3
secondary
#BFA772
accent
#B04BDC
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #3255A3

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

Preview Lab → · Contrast checker → · Palette generator →

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