#3261AB#3261AB

#3261AB is a mid, vivid blue. Relative luminance 0.122; OKLCH L 49.8% C 0.129 H 259.2°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#3261AB
RGBrgb(50, 97, 171)
HSLhsl(217, 55%, 43%)
HSVhsv(217, 71%, 67%)
CMYKcmyk(70.8%, 43.3%, 0%, 32.9%)
CIE-LABlab(41.48, 9.45, -44.36)
CIE-LCHlch(41.48, 45.36, 282.03°)
OKLaboklab(49.83% -0.0242 -0.1268)
OKLCHoklch(49.83% 0.129 259.2)
XYZxyz(12.9381, 12.1664, 40.1867)
Luminance0.1217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3261AB #AB7C32
analogous
#329DAB #3261AB #3F32AB
triadic
#3261AB #AB3261 #61AB32
tetradic
#3261AB #AB329D #AB7C32 #32AB3F
square
#3261AB #AB329D #AB7C32 #32AB3F
split-complementary
#3261AB #AB3F32 #9DAB32
monochromatic
#162B4C #24467C #3261AB #4F7FCB #7EA2D9

Accessibility & contrast

On white

6.12
#3261AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#3261AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3261AB
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3261AB#FFFFFF#000000##FFFFFF
##3261AB1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D68AE
Deuteranopia (green-blind)
#295DA9
Tritanopia (blue-blind)
#00727D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3261ab;
/* rgb */ color: rgb(50, 97, 171);
/* oklch */ color: oklch(49.8% 0.129 259.2);
Tailwind
colors: {
  custom: {
    50: '#798dc4',
    500: '#3261ab',
    950: '#000000',
  },
}
SCSS
$custom: #3261ab;
$custom-light: #798dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#3261ab",
  "rgb": {
    "r": 50,
    "g": 97,
    "b": 171
  },
  "hsl": {
    "h": 216.694,
    "s": 54.751,
    "l": 43.333
  },
  "oklch": {
    "l": 0.49834,
    "c": 0.12906,
    "h": 259.2
  },
  "luminance": 0.12168
}

Semantic roles & 50–950 ramp

primary
#3261AB
secondary
#C2A577
accent
#A44ADE
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #3261AB

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

Preview Lab → · Contrast checker → · Palette generator →

#3261AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva