#3251BF#3251BF

#3251BF is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.9% C 0.176 H 267.3°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#3251BF
RGBrgb(50, 81, 191)
HSLhsl(227, 59%, 47%)
HSVhsv(227, 74%, 75%)
CMYKcmyk(73.8%, 57.6%, 0%, 25.1%)
CIE-LABlab(38.42, 27.34, -61.05)
CIE-LCHlch(38.42, 66.89, 294.13°)
OKLaboklab(47.94% -0.0082 -0.1761)
OKLCHoklch(47.94% 0.176 267.3)
XYZxyz(13.6585, 10.3231, 50.5528)
Luminance0.1032 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3251BF #BFA032
analogous
#3297BF #3251BF #5A32BF
triadic
#3251BF #BF3251 #51BF32
tetradic
#3251BF #BF3297 #BFA032 #32BF5A
square
#3251BF #BF3297 #BFA032 #32BF5A
split-complementary
#3251BF #BF5A32 #97BF32
monochromatic
#19285E #253C8E #3251BF #5A75D4 #8B9EE1

Accessibility & contrast

On white

6.85
#3251BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#3251BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3251BF
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3251BF#FFFFFF#000000##FFFFFF
##3251BF1.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C3
Deuteranopia (green-blind)
#0054BD
Tritanopia (blue-blind)
#006C80
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3251bf;
/* rgb */ color: rgb(50, 81, 191);
/* oklch */ color: oklch(47.9% 0.176 267.3);
Tailwind
colors: {
  custom: {
    50: '#7e81d3',
    500: '#3251bf',
    950: '#000000',
  },
}
SCSS
$custom: #3251bf;
$custom-light: #7e81d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3251bf",
  "rgb": {
    "r": 50,
    "g": 81,
    "b": 191
  },
  "hsl": {
    "h": 226.809,
    "s": 58.506,
    "l": 47.255
  },
  "oklch": {
    "l": 0.47937,
    "c": 0.1763,
    "h": 267.3
  },
  "luminance": 0.10325
}

Semantic roles & 50–950 ramp

primary
#3251BF
secondary
#CBBB82
accent
#BF46E2
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #3251BF

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

Preview Lab → · Contrast checker → · Palette generator →

#3251BF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva