#3261B5#3261B5

#3261B5 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 50.5% C 0.143 H 261.0°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#3261B5
RGBrgb(50, 97, 181)
HSLhsl(218, 57%, 45%)
HSVhsv(218, 72%, 71%)
CMYKcmyk(72.4%, 46.4%, 0%, 29%)
CIE-LABlab(42.10, 13.19, -49.25)
CIE-LCHlch(42.10, 50.98, 284.99°)
OKLaboklab(50.51% -0.0224 -0.1411)
OKLCHoklch(50.51% 0.143 261)
XYZxyz(13.9276, 12.5622, 45.3978)
Luminance0.1256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3261B5 #B58632
analogous
#32A3B5 #3261B5 #4432B5
triadic
#3261B5 #B53261 #61B532
tetradic
#3261B5 #B532A3 #B58632 #32B544
square
#3261B5 #B532A3 #B58632 #32B544
split-complementary
#3261B5 #B54432 #A3B532
monochromatic
#182E55 #254785 #3261B5 #5481D0 #84A4DD

Accessibility & contrast

On white

5.98
#3261B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#3261B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3261B5
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3261B5#FFFFFF#000000##FFFFFF
##3261B51.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#356AB8
Deuteranopia (green-blind)
#185EB3
Tritanopia (blue-blind)
#007582
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3261b5;
/* rgb */ color: rgb(50, 97, 181);
/* oklch */ color: oklch(50.5% 0.143 261.0);
Tailwind
colors: {
  custom: {
    50: '#7b8dcc',
    500: '#3261b5',
    950: '#000000',
  },
}
SCSS
$custom: #3261b5;
$custom-light: #7b8dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#3261b5",
  "rgb": {
    "r": 50,
    "g": 97,
    "b": 181
  },
  "hsl": {
    "h": 218.473,
    "s": 56.71,
    "l": 45.294
  },
  "oklch": {
    "l": 0.50508,
    "c": 0.1429,
    "h": 261
  },
  "luminance": 0.12564
}

Semantic roles & 50–950 ramp

primary
#3261B5
secondary
#C7AC7C
accent
#A948E0
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C13
muted
#7C7D82

Preview Lab

Preview with #3261B5

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

Preview Lab → · Contrast checker → · Palette generator →

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