#3B4CB5#3B4CB5

#3B4CB5 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.6% C 0.166 H 271.4°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#3B4CB5
RGBrgb(59, 76, 181)
HSLhsl(232, 51%, 47%)
HSVhsv(232, 67%, 71%)
CMYKcmyk(67.4%, 58%, 0%, 29%)
CIE-LABlab(36.81, 28.18, -57.77)
CIE-LCHlch(36.81, 64.28, 296.00°)
OKLaboklab(46.62% 0.0041 -0.1664)
OKLCHoklch(46.62% 0.166 271.4)
XYZxyz(12.7257, 9.4337, 44.8573)
Luminance0.0944 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B4CB5 #B5A43B
analogous
#3B89B5 #3B4CB5 #673BB5
triadic
#3B4CB5 #B53B4C #4CB53B
tetradic
#3B4CB5 #B53B89 #B5A43B #3BB567
square
#3B4CB5 #B53B89 #B5A43B #3BB567
split-complementary
#3B4CB5 #B5673B #89B53B
monochromatic
#1D2559 #2C3987 #3B4CB5 #6270CC #909ADB

Accessibility & contrast

On white

7.27
#3B4CB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#3B4CB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B4CB5
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B4CB5#FFFFFF#000000##FFFFFF
##3B4CB51.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB9
Deuteranopia (green-blind)
#0051B3
Tritanopia (blue-blind)
#006679
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3b4cb5;
/* rgb */ color: rgb(59, 76, 181);
/* oklch */ color: oklch(46.6% 0.166 271.4);
Tailwind
colors: {
  custom: {
    50: '#7f7dcc',
    500: '#3b4cb5',
    950: '#000000',
  },
}
SCSS
$custom: #3b4cb5;
$custom-light: #7f7dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#3b4cb5",
  "rgb": {
    "r": 59,
    "g": 76,
    "b": 181
  },
  "hsl": {
    "h": 231.639,
    "s": 50.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.46616,
    "c": 0.16641,
    "h": 271.4
  },
  "luminance": 0.09435
}

Semantic roles & 50–950 ramp

primary
#3B4CB5
secondary
#C6BD86
accent
#C74DDA
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3B4CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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