#3A51BE#3A51BE

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

Color values

HEX#3A51BE
RGBrgb(58, 81, 190)
HSLhsl(230, 53%, 49%)
HSVhsv(230, 69%, 75%)
CMYKcmyk(69.5%, 57.4%, 0%, 25.5%)
CIE-LABlab(38.73, 28.03, -59.94)
CIE-LCHlch(38.73, 66.17, 295.06°)
OKLaboklab(48.25% -0.0008 -0.1727)
OKLCHoklch(48.25% 0.173 269.7)
XYZxyz(13.9784, 10.5007, 49.9954)
Luminance0.1050 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A51BE #BEA73A
analogous
#3A93BE #3A51BE #653ABE
triadic
#3A51BE #BE3A51 #51BE3A
tetradic
#3A51BE #BE3A93 #BEA73A #3ABE65
square
#3A51BE #BE3A93 #BEA73A #3ABE65
split-complementary
#3A51BE #BE653A #93BE3A
monochromatic
#1D2960 #2C3D8F #3A51BE #6578D0 #94A1DE

Accessibility & contrast

On white

6.77
#3A51BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#3A51BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A51BE
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A51BE#FFFFFF#000000##FFFFFF
##3A51BE1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a51be;
/* rgb */ color: rgb(58, 81, 190);
/* oklch */ color: oklch(48.3% 0.173 269.7);
Tailwind
colors: {
  custom: {
    50: '#8081d2',
    500: '#3a51be',
    950: '#000000',
  },
}
SCSS
$custom: #3a51be;
$custom-light: #8081d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3a51be",
  "rgb": {
    "r": 58,
    "g": 81,
    "b": 190
  },
  "hsl": {
    "h": 229.545,
    "s": 53.226,
    "l": 48.627
  },
  "oklch": {
    "l": 0.4825,
    "c": 0.17269,
    "h": 269.7
  },
  "luminance": 0.10502
}

Semantic roles & 50–950 ramp

primary
#3A51BE
secondary
#CABF8A
accent
#C34BDD
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3A51BE

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

Preview Lab → · Contrast checker → · Palette generator →

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