#3251CB#3251CB

#3251CB is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.9% C 0.192 H 267.6°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#3251CB
RGBrgb(50, 81, 203)
HSLhsl(228, 60%, 50%)
HSVhsv(228, 75%, 80%)
CMYKcmyk(75.4%, 60.1%, 0%, 20.4%)
CIE-LABlab(39.37, 31.76, -66.48)
CIE-LCHlch(39.37, 73.67, 295.53°)
OKLaboklab(48.94% -0.008 -0.192)
OKLCHoklch(48.94% 0.192 267.6)
XYZxyz(15.0336, 10.8731, 57.7947)
Luminance0.1087 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3251CB #CBAC32
analogous
#329ECB #3251CB #6032CB
triadic
#3251CB #CB3251 #51CB32
tetradic
#3251CB #CB329E #CBAC32 #32CB60
square
#3251CB #CB329E #CBAC32 #32CB60
split-complementary
#3251CB #CB6032 #9ECB32
monochromatic
#1A2A69 #263D9A #3251CB #627AD8 #93A3E4

Accessibility & contrast

On white

6.61
#3251CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#3251CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3251CB
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3251CB#FFFFFF#000000##FFFFFF
##3251CB1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CF
Deuteranopia (green-blind)
#0056C9
Tritanopia (blue-blind)
#007086
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3251cb;
/* rgb */ color: rgb(50, 81, 203);
/* oklch */ color: oklch(48.9% 0.192 267.6);
Tailwind
colors: {
  custom: {
    50: '#8081dc',
    500: '#3251cb',
    950: '#000000',
  },
}
SCSS
$custom: #3251cb;
$custom-light: #8081dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3251cb",
  "rgb": {
    "r": 50,
    "g": 81,
    "b": 203
  },
  "hsl": {
    "h": 227.843,
    "s": 60.474,
    "l": 49.608
  },
  "oklch": {
    "l": 0.48942,
    "c": 0.19222,
    "h": 267.6
  },
  "luminance": 0.10875
}

Semantic roles & 50–950 ramp

primary
#3251CB
secondary
#CFC189
accent
#C344E4
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3251CB

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

Preview Lab → · Contrast checker → · Palette generator →

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