#3262B2#3262B2

#3262B2 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 50.5% C 0.138 H 260.0°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#3262B2
RGBrgb(50, 98, 178)
HSLhsl(218, 56%, 45%)
HSVhsv(218, 72%, 70%)
CMYKcmyk(71.9%, 44.9%, 0%, 30.2%)
CIE-LABlab(42.19, 11.42, -47.33)
CIE-LCHlch(42.19, 48.69, 283.57°)
OKLaboklab(50.52% -0.0238 -0.1355)
OKLCHoklch(50.52% 0.138 260)
XYZxyz(13.7161, 12.6264, 43.8251)
Luminance0.1263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3262B2 #B28232
analogous
#32A2B2 #3262B2 #4232B2
triadic
#3262B2 #B23262 #62B232
tetradic
#3262B2 #B232A2 #B28232 #32B242
square
#3262B2 #B232A2 #B28232 #32B242
split-complementary
#3262B2 #B24232 #A2B232
monochromatic
#172D52 #254882 #3262B2 #5381CF #82A4DC

Accessibility & contrast

On white

5.96
#3262B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#3262B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3262B2
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3262B2#FFFFFF#000000##FFFFFF
##3262B21.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A6AB5
Deuteranopia (green-blind)
#215EB0
Tritanopia (blue-blind)
#007581
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3262b2;
/* rgb */ color: rgb(50, 98, 178);
/* oklch */ color: oklch(50.5% 0.138 260.0);
Tailwind
colors: {
  custom: {
    50: '#7a8ec9',
    500: '#3262b2',
    950: '#000000',
  },
}
SCSS
$custom: #3262b2;
$custom-light: #7a8ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#3262b2",
  "rgb": {
    "r": 50,
    "g": 98,
    "b": 178
  },
  "hsl": {
    "h": 217.5,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.50524,
    "c": 0.13756,
    "h": 260
  },
  "luminance": 0.12628
}

Semantic roles & 50–950 ramp

primary
#3262B2
secondary
#C5A97B
accent
#A748DF
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #3262B2

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

Preview Lab → · Contrast checker → · Palette generator →

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