#3B4792#3B4792

#3B4792 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.9% C 0.123 H 273.3°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#3B4792
RGBrgb(59, 71, 146)
HSLhsl(232, 42%, 40%)
HSVhsv(232, 60%, 57%)
CMYKcmyk(59.6%, 51.4%, 0%, 42.7%)
CIE-LABlab(32.94, 18.97, -43.03)
CIE-LCHlch(32.94, 47.03, 293.80°)
OKLaboklab(42.91% 0.007 -0.123)
OKLCHoklch(42.91% 0.123 273.3)
XYZxyz(9.2435, 7.5109, 28.1512)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B4792 #92863B
analogous
#3B7292 #3B4792 #5A3B92
triadic
#3B4792 #923B47 #47923B
tetradic
#3B4792 #923B72 #92863B #3B925A
square
#3B4792 #923B72 #92863B #3B925A
split-complementary
#3B4792 #925A3B #72923B
monochromatic
#181D3B #293266 #3B4792 #5160B9 #7D88CA

Accessibility & contrast

On white

8.39
#3B4792 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#3B4792 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B4792
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B4792#FFFFFF#000000##FFFFFF
##3B47921.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205195
Deuteranopia (green-blind)
#0F4A90
Tritanopia (blue-blind)
#005865
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3b4792;
/* rgb */ color: rgb(59, 71, 146);
/* oklch */ color: oklch(42.9% 0.123 273.3);
Tailwind
colors: {
  custom: {
    50: '#797ab2',
    500: '#3b4792',
    950: '#000000',
  },
}
SCSS
$custom: #3b4792;
$custom-light: #797ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#3b4792",
  "rgb": {
    "r": 59,
    "g": 71,
    "b": 146
  },
  "hsl": {
    "h": 231.724,
    "s": 42.439,
    "l": 40.196
  },
  "oklch": {
    "l": 0.42914,
    "c": 0.12324,
    "h": 273.3
  },
  "luminance": 0.07512
}

Semantic roles & 50–950 ramp

primary
#3B4792
secondary
#B4AB75
accent
#C156D2
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0911
muted
#7C7B80

Preview Lab

Preview with #3B4792

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

Preview Lab → · Contrast checker → · Palette generator →

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