#3B4EBA#3B4EBA

#3B4EBA is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.4% C 0.171 H 270.8°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#3B4EBA
RGBrgb(59, 78, 186)
HSLhsl(231, 52%, 48%)
HSVhsv(231, 68%, 73%)
CMYKcmyk(68.3%, 58.1%, 0%, 27.1%)
CIE-LABlab(37.70, 28.67, -59.26)
CIE-LCHlch(37.70, 65.83, 295.82°)
OKLaboklab(47.41% 0.0025 -0.1707)
OKLCHoklch(47.41% 0.171 270.8)
XYZxyz(13.3879, 9.9225, 47.6545)
Luminance0.0992 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B4EBA #BAA73B
analogous
#3B8DBA #3B4EBA #683BBA
triadic
#3B4EBA #BA3B4E #4EBA3B
tetradic
#3B4EBA #BA3B8D #BAA73B #3BBA68
square
#3B4EBA #BA3B8D #BAA73B #3BBA68
split-complementary
#3B4EBA #BA683B #8DBA3B
monochromatic
#1E275D #2C3B8C #3B4EBA #6474CE #939EDD

Accessibility & contrast

On white

7.04
#3B4EBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#3B4EBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B4EBA
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B4EBA#FFFFFF#000000##FFFFFF
##3B4EBA1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBE
Deuteranopia (green-blind)
#0053B8
Tritanopia (blue-blind)
#00697C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3b4eba;
/* rgb */ color: rgb(59, 78, 186);
/* oklch */ color: oklch(47.4% 0.171 270.8);
Tailwind
colors: {
  custom: {
    50: '#807fd0',
    500: '#3b4eba',
    950: '#000000',
  },
}
SCSS
$custom: #3b4eba;
$custom-light: #807fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#3b4eba",
  "rgb": {
    "r": 59,
    "g": 78,
    "b": 186
  },
  "hsl": {
    "h": 231.024,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.47405,
    "c": 0.17072,
    "h": 270.8
  },
  "luminance": 0.09924
}

Semantic roles & 50–950 ramp

primary
#3B4EBA
secondary
#C8BE89
accent
#C64DDB
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #3B4EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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