#3B4DBA#3B4DBA

#3B4DBA is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.2% C 0.172 H 271.1°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#3B4DBA
RGBrgb(59, 77, 186)
HSLhsl(231, 52%, 48%)
HSVhsv(231, 68%, 73%)
CMYKcmyk(68.3%, 58.6%, 0%, 27.1%)
CIE-LABlab(37.45, 29.32, -59.67)
CIE-LCHlch(37.45, 66.49, 296.17°)
OKLaboklab(47.22% 0.0034 -0.1719)
OKLCHoklch(47.22% 0.172 271.1)
XYZxyz(13.3174, 9.7815, 47.6310)
Luminance0.0978 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B4DBA #BAA83B
analogous
#3B8CBA #3B4DBA #683BBA
triadic
#3B4DBA #BA3B4D #4DBA3B
tetradic
#3B4DBA #BA3B8C #BAA83B #3BBA68
square
#3B4DBA #BA3B8C #BAA83B #3BBA68
split-complementary
#3B4DBA #BA683B #8CBA3B
monochromatic
#1E275D #2C3A8C #3B4DBA #6473CE #939DDD

Accessibility & contrast

On white

7.10
#3B4DBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#3B4DBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B4DBA
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B4DBA#FFFFFF#000000##FFFFFF
##3B4DBA1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBE
Deuteranopia (green-blind)
#0053B8
Tritanopia (blue-blind)
#00687C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3b4dba;
/* rgb */ color: rgb(59, 77, 186);
/* oklch */ color: oklch(47.2% 0.172 271.1);
Tailwind
colors: {
  custom: {
    50: '#807ed0',
    500: '#3b4dba',
    950: '#000000',
  },
}
SCSS
$custom: #3b4dba;
$custom-light: #807ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#3b4dba",
  "rgb": {
    "r": 59,
    "g": 77,
    "b": 186
  },
  "hsl": {
    "h": 231.496,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.47215,
    "c": 0.17196,
    "h": 271.1
  },
  "luminance": 0.09783
}

Semantic roles & 50–950 ramp

primary
#3B4DBA
secondary
#C8BF89
accent
#C74DDB
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #3B4DBA

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

Preview Lab → · Contrast checker → · Palette generator →

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