#3251BE#3251BE

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

Color values

HEX#3251BE
RGBrgb(50, 81, 190)
HSLhsl(227, 58%, 47%)
HSVhsv(227, 74%, 75%)
CMYKcmyk(73.7%, 57.4%, 0%, 25.5%)
CIE-LABlab(38.34, 26.97, -60.59)
CIE-LCHlch(38.34, 66.32, 294.00°)
OKLaboklab(47.86% -0.0083 -0.1748)
OKLCHoklch(47.86% 0.175 267.3)
XYZxyz(13.5489, 10.2792, 49.9752)
Luminance0.1028 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3251BE #BE9F32
analogous
#3297BE #3251BE #5932BE
triadic
#3251BE #BE3251 #51BE32
tetradic
#3251BE #BE3297 #BE9F32 #32BE59
square
#3251BE #BE3297 #BE9F32 #32BE59
split-complementary
#3251BE #BE5932 #97BE32
monochromatic
#19285D #253C8E #3251BE #5A75D3 #8A9DE0

Accessibility & contrast

On white

6.87
#3251BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#3251BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3251BE
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3251BE#FFFFFF#000000##FFFFFF
##3251BE1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C2
Deuteranopia (green-blind)
#0054BC
Tritanopia (blue-blind)
#006C7F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3251be;
/* rgb */ color: rgb(50, 81, 190);
/* oklch */ color: oklch(47.9% 0.175 267.3);
Tailwind
colors: {
  custom: {
    50: '#7d81d2',
    500: '#3251be',
    950: '#000000',
  },
}
SCSS
$custom: #3251be;
$custom-light: #7d81d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3251be",
  "rgb": {
    "r": 50,
    "g": 81,
    "b": 190
  },
  "hsl": {
    "h": 226.714,
    "s": 58.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.47855,
    "c": 0.17496,
    "h": 267.3
  },
  "luminance": 0.10281
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3251BE

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

Preview Lab → · Contrast checker → · Palette generator →

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