#3262B4#3262B4

#3262B4 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 50.7% C 0.140 H 260.4°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#3262B4
RGBrgb(50, 98, 180)
HSLhsl(218, 57%, 45%)
HSVhsv(218, 72%, 71%)
CMYKcmyk(72.2%, 45.6%, 0%, 29.4%)
CIE-LABlab(42.32, 12.17, -48.30)
CIE-LCHlch(42.32, 49.81, 284.14°)
OKLaboklab(50.66% -0.0235 -0.1383)
OKLCHoklch(50.66% 0.14 260.4)
XYZxyz(13.9183, 12.7073, 44.8904)
Luminance0.1271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3262B4 #B48432
analogous
#32A3B4 #3262B4 #4332B4
triadic
#3262B4 #B43262 #62B432
tetradic
#3262B4 #B432A3 #B48432 #32B443
square
#3262B4 #B432A3 #B48432 #32B443
split-complementary
#3262B4 #B44332 #A3B432
monochromatic
#172E54 #254884 #3262B4 #5481CF #84A5DD

Accessibility & contrast

On white

5.93
#3262B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#3262B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3262B4
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3262B4#FFFFFF#000000##FFFFFF
##3262B41.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#386AB7
Deuteranopia (green-blind)
#1E5EB2
Tritanopia (blue-blind)
#007582
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3262b4;
/* rgb */ color: rgb(50, 98, 180);
/* oklch */ color: oklch(50.7% 0.140 260.4);
Tailwind
colors: {
  custom: {
    50: '#7a8ecb',
    500: '#3262b4',
    950: '#000000',
  },
}
SCSS
$custom: #3262b4;
$custom-light: #7a8ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#3262b4",
  "rgb": {
    "r": 50,
    "g": 98,
    "b": 180
  },
  "hsl": {
    "h": 217.846,
    "s": 56.522,
    "l": 45.098
  },
  "oklch": {
    "l": 0.50659,
    "c": 0.14032,
    "h": 260.4
  },
  "luminance": 0.12709
}

Semantic roles & 50–950 ramp

primary
#3262B4
secondary
#C6AB7C
accent
#A848E0
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #3262B4

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

Preview Lab → · Contrast checker → · Palette generator →

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