#3255A5#3255A5

#3255A5 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 46.8% C 0.135 H 264.1°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#3255A5
RGBrgb(50, 85, 165)
HSLhsl(222, 53%, 42%)
HSVhsv(222, 70%, 65%)
CMYKcmyk(69.7%, 48.5%, 0%, 35.3%)
CIE-LABlab(37.65, 15.01, -46.95)
CIE-LCHlch(37.65, 49.29, 287.73°)
OKLaboklab(46.76% -0.0139 -0.1346)
OKLCHoklch(46.76% 0.135 264.1)
XYZxyz(11.3530, 9.8906, 36.9008)
Luminance0.0989 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3255A5 #A58232
analogous
#328FA5 #3255A5 #4932A5
triadic
#3255A5 #A53255 #55A532
tetradic
#3255A5 #A5328F #A58232 #32A549
square
#3255A5 #A5328F #A58232 #32A549
split-complementary
#3255A5 #A54932 #8FA532
monochromatic
#162547 #243D76 #3255A5 #4C72C9 #7B97D7

Accessibility & contrast

On white

7.05
#3255A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#3255A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3255A5
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3255A5#FFFFFF#000000##FFFFFF
##3255A51.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5EA8
Deuteranopia (green-blind)
#0D54A3
Tritanopia (blue-blind)
#006875
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3255a5;
/* rgb */ color: rgb(50, 85, 165);
/* oklch */ color: oklch(46.8% 0.135 264.1);
Tailwind
colors: {
  custom: {
    50: '#7884c0',
    500: '#3255a5',
    950: '#000000',
  },
}
SCSS
$custom: #3255a5;
$custom-light: #7884c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3255a5",
  "rgb": {
    "r": 50,
    "g": 85,
    "b": 165
  },
  "hsl": {
    "h": 221.739,
    "s": 53.488,
    "l": 42.157
  },
  "oklch": {
    "l": 0.46763,
    "c": 0.13529,
    "h": 264.1
  },
  "luminance": 0.09892
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3255A5

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

Preview Lab → · Contrast checker → · Palette generator →

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