#3B51BE#3B51BE

#3B51BE is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.3% C 0.172 H 270.0°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#3B51BE
RGBrgb(59, 81, 190)
HSLhsl(230, 53%, 49%)
HSVhsv(230, 69%, 75%)
CMYKcmyk(68.9%, 57.4%, 0%, 25.5%)
CIE-LABlab(38.78, 28.18, -59.85)
CIE-LCHlch(38.78, 66.15, 295.21°)
OKLaboklab(48.3% 0.0001 -0.1724)
OKLCHoklch(48.3% 0.172 270)
XYZxyz(14.0372, 10.5310, 49.9981)
Luminance0.1053 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B51BE #BEA83B
analogous
#3B93BE #3B51BE #673BBE
triadic
#3B51BE #BE3B51 #51BE3B
tetradic
#3B51BE #BE3B93 #BEA83B #3BBE67
square
#3B51BE #BE3B93 #BEA83B #3BBE67
split-complementary
#3B51BE #BE673B #93BE3B
monochromatic
#1E2961 #2C3D8F #3B51BE #6778D0 #95A1DE

Accessibility & contrast

On white

6.76
#3B51BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#3B51BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B51BE
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B51BE#FFFFFF#000000##FFFFFF
##3B51BE1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3b51be;
/* rgb */ color: rgb(59, 81, 190);
/* oklch */ color: oklch(48.3% 0.172 270.0);
Tailwind
colors: {
  custom: {
    50: '#8181d2',
    500: '#3b51be',
    950: '#000000',
  },
}
SCSS
$custom: #3b51be;
$custom-light: #8181d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3b51be",
  "rgb": {
    "r": 59,
    "g": 81,
    "b": 190
  },
  "hsl": {
    "h": 229.924,
    "s": 52.61,
    "l": 48.824
  },
  "oklch": {
    "l": 0.48304,
    "c": 0.17241,
    "h": 270
  },
  "luminance": 0.10532
}

Semantic roles & 50–950 ramp

primary
#3B51BE
secondary
#CABF8B
accent
#C44CDC
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3B51BE

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

Preview Lab → · Contrast checker → · Palette generator →

#3B51BE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva