#3B4BAB#3B4BAB

#3B4BAB is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.6% C 0.154 H 271.8°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#3B4BAB
RGBrgb(59, 75, 171)
HSLhsl(231, 49%, 45%)
HSVhsv(231, 65%, 67%)
CMYKcmyk(65.5%, 56.1%, 0%, 32.9%)
CIE-LABlab(35.79, 25.25, -53.49)
CIE-LCHlch(35.79, 59.15, 295.27°)
OKLaboklab(45.62% 0.0047 -0.1538)
OKLCHoklch(45.62% 0.154 271.8)
XYZxyz(11.6679, 8.9012, 39.6234)
Luminance0.0890 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B4BAB #AB9B3B
analogous
#3B83AB #3B4BAB #633BAB
triadic
#3B4BAB #AB3B4B #4BAB3B
tetradic
#3B4BAB #AB3B83 #AB9B3B #3BAB63
square
#3B4BAB #AB3B83 #AB9B3B #3BAB63
split-complementary
#3B4BAB #AB633B #83AB3B
monochromatic
#1C2350 #2B377D #3B4BAB #5C6CC7 #8A95D7

Accessibility & contrast

On white

7.55
#3B4BAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#3B4BAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B4BAB
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B4BAB#FFFFFF#000000##FFFFFF
##3B4BAB1.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AE
Deuteranopia (green-blind)
#004FA9
Tritanopia (blue-blind)
#006273
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3b4bab;
/* rgb */ color: rgb(59, 75, 171);
/* oklch */ color: oklch(45.6% 0.154 271.8);
Tailwind
colors: {
  custom: {
    50: '#7d7dc5',
    500: '#3b4bab',
    950: '#000000',
  },
}
SCSS
$custom: #3b4bab;
$custom-light: #7d7dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#3b4bab",
  "rgb": {
    "r": 59,
    "g": 75,
    "b": 171
  },
  "hsl": {
    "h": 231.429,
    "s": 48.696,
    "l": 45.098
  },
  "oklch": {
    "l": 0.45622,
    "c": 0.15384,
    "h": 271.8
  },
  "luminance": 0.08902
}

Semantic roles & 50–950 ramp

primary
#3B4BAB
secondary
#C1B881
accent
#C550D8
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3B4BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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