#3255A2#3255A2

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

Color values

HEX#3255A2
RGBrgb(50, 85, 162)
HSLhsl(221, 53%, 42%)
HSVhsv(221, 69%, 64%)
CMYKcmyk(69.1%, 47.5%, 0%, 36.5%)
CIE-LABlab(37.45, 13.89, -45.47)
CIE-LCHlch(37.45, 47.55, 286.99°)
OKLaboklab(46.55% -0.0144 -0.1302)
OKLCHoklch(46.55% 0.131 263.7)
XYZxyz(11.0832, 9.7826, 35.4796)
Luminance0.0978 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3255A2 #A27F32
analogous
#328DA2 #3255A2 #4732A2
triadic
#3255A2 #A23255 #55A232
tetradic
#3255A2 #A2328D #A27F32 #32A247
square
#3255A2 #A2328D #A27F32 #32A247
split-complementary
#3255A2 #A24732 #8DA232
monochromatic
#152444 #243C73 #3255A2 #4A71C7 #7996D6

Accessibility & contrast

On white

7.10
#3255A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3255A2
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3255A2#FFFFFF#000000##FFFFFF
##3255A21.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5EA5
Deuteranopia (green-blind)
#1553A0
Tritanopia (blue-blind)
#006773
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3255a2;
/* rgb */ color: rgb(50, 85, 162);
/* oklch */ color: oklch(46.6% 0.131 263.7);
Tailwind
colors: {
  custom: {
    50: '#7784be',
    500: '#3255a2',
    950: '#000000',
  },
}
SCSS
$custom: #3255a2;
$custom-light: #7784be;
$custom-dark: #000000;
JSON
{
  "hex": "#3255a2",
  "rgb": {
    "r": 50,
    "g": 85,
    "b": 162
  },
  "hsl": {
    "h": 221.25,
    "s": 52.83,
    "l": 41.569
  },
  "oklch": {
    "l": 0.4655,
    "c": 0.13102,
    "h": 263.7
  },
  "luminance": 0.09784
}

Semantic roles & 50–950 ramp

primary
#3255A2
secondary
#BEA672
accent
#AF4CDC
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #3255A2

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

Preview Lab → · Contrast checker → · Palette generator →

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