#3251BC#3251BC

#3251BC is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.7% C 0.172 H 267.2°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#3251BC
RGBrgb(50, 81, 188)
HSLhsl(227, 58%, 47%)
HSVhsv(227, 73%, 74%)
CMYKcmyk(73.4%, 56.9%, 0%, 26.3%)
CIE-LABlab(38.19, 26.23, -59.67)
CIE-LCHlch(38.19, 65.18, 293.73°)
OKLaboklab(47.69% -0.0084 -0.172)
OKLCHoklch(47.69% 0.172 267.2)
XYZxyz(13.3318, 10.1924, 48.8319)
Luminance0.1019 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3251BC #BC9D32
analogous
#3296BC #3251BC #5832BC
triadic
#3251BC #BC3251 #51BC32
tetradic
#3251BC #BC3296 #BC9D32 #32BC58
square
#3251BC #BC3296 #BC9D32 #32BC58
split-complementary
#3251BC #BC5832 #96BC32
monochromatic
#18275B #253C8C #3251BC #5874D3 #899CE0

Accessibility & contrast

On white

6.91
#3251BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#3251BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3251BC
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3251BC#FFFFFF#000000##FFFFFF
##3251BC1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C0
Deuteranopia (green-blind)
#0054BA
Tritanopia (blue-blind)
#006B7E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3251bc;
/* rgb */ color: rgb(50, 81, 188);
/* oklch */ color: oklch(47.7% 0.172 267.2);
Tailwind
colors: {
  custom: {
    50: '#7d81d1',
    500: '#3251bc',
    950: '#000000',
  },
}
SCSS
$custom: #3251bc;
$custom-light: #7d81d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3251bc",
  "rgb": {
    "r": 50,
    "g": 81,
    "b": 188
  },
  "hsl": {
    "h": 226.522,
    "s": 57.983,
    "l": 46.667
  },
  "oklch": {
    "l": 0.47692,
    "c": 0.17225,
    "h": 267.2
  },
  "luminance": 0.10194
}

Semantic roles & 50–950 ramp

primary
#3251BC
secondary
#C9B980
accent
#BE47E1
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #3251BC

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

Preview Lab → · Contrast checker → · Palette generator →

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