#3261B2#3261B2

#3261B2 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.3% C 0.139 H 260.5°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#3261B2
RGBrgb(50, 97, 178)
HSLhsl(218, 56%, 45%)
HSVhsv(218, 72%, 70%)
CMYKcmyk(71.9%, 45.5%, 0%, 30.2%)
CIE-LABlab(41.91, 12.07, -47.79)
CIE-LCHlch(41.91, 49.29, 284.17°)
OKLaboklab(50.3% -0.0229 -0.1368)
OKLCHoklch(50.3% 0.139 260.5)
XYZxyz(13.6231, 12.4404, 43.7941)
Luminance0.1244 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3261B2 #B28332
analogous
#32A1B2 #3261B2 #4332B2
triadic
#3261B2 #B23261 #61B232
tetradic
#3261B2 #B232A1 #B28332 #32B243
square
#3261B2 #B232A1 #B28332 #32B243
split-complementary
#3261B2 #B24332 #A1B232
monochromatic
#172D52 #254782 #3261B2 #5380CF #82A3DC

Accessibility & contrast

On white

6.02
#3261B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#3261B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3261B2
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3261B2#FFFFFF#000000##FFFFFF
##3261B21.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3869B5
Deuteranopia (green-blind)
#1E5DB0
Tritanopia (blue-blind)
#007481
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3261b2;
/* rgb */ color: rgb(50, 97, 178);
/* oklch */ color: oklch(50.3% 0.139 260.5);
Tailwind
colors: {
  custom: {
    50: '#7a8dc9',
    500: '#3261b2',
    950: '#000000',
  },
}
SCSS
$custom: #3261b2;
$custom-light: #7a8dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#3261b2",
  "rgb": {
    "r": 50,
    "g": 97,
    "b": 178
  },
  "hsl": {
    "h": 217.969,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.50303,
    "c": 0.13875,
    "h": 260.5
  },
  "luminance": 0.12442
}

Semantic roles & 50–950 ramp

primary
#3261B2
secondary
#C5AA7B
accent
#A848DF
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #3261B2

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

Preview Lab → · Contrast checker → · Palette generator →

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