#3B4E8D#3B4E8D

#3B4E8D is a dark, moderate blue. Relative luminance 0.083; OKLCH L 44.1% C 0.106 H 269.1°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#3B4E8D
RGBrgb(59, 78, 141)
HSLhsl(226, 41%, 39%)
HSVhsv(226, 58%, 55%)
CMYKcmyk(58.2%, 44.7%, 0%, 44.7%)
CIE-LABlab(34.60, 12.57, -37.32)
CIE-LCHlch(34.60, 39.38, 288.62°)
OKLaboklab(44.07% -0.0017 -0.1062)
OKLCHoklch(44.07% 0.106 269.1)
XYZxyz(9.3341, 8.3010, 26.3045)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B4E8D #8D7A3B
analogous
#3B778D #3B4E8D #513B8D
triadic
#3B4E8D #8D3B4E #4E8D3B
tetradic
#3B4E8D #8D3B77 #8D7A3B #3B8D51
square
#3B4E8D #8D3B77 #8D7A3B #3B8D51
split-complementary
#3B4E8D #8D513B #778D3B
monochromatic
#171E37 #293662 #3B4E8D #5067B6 #7B8DC8

Accessibility & contrast

On white

7.89
#3B4E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#3B4E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B4E8D
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B4E8D#FFFFFF#000000##FFFFFF
##3B4E8D1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32558F
Deuteranopia (green-blind)
#284E8C
Tritanopia (blue-blind)
#055C66
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3b4e8d;
/* rgb */ color: rgb(59, 78, 141);
/* oklch */ color: oklch(44.1% 0.106 269.1);
Tailwind
colors: {
  custom: {
    50: '#787faf',
    500: '#3b4e8d',
    950: '#000000',
  },
}
SCSS
$custom: #3b4e8d;
$custom-light: #787faf;
$custom-dark: #000000;
JSON
{
  "hex": "#3b4e8d",
  "rgb": {
    "r": 59,
    "g": 78,
    "b": 141
  },
  "hsl": {
    "h": 226.098,
    "s": 41,
    "l": 39.216
  },
  "oklch": {
    "l": 0.44074,
    "c": 0.10619,
    "h": 269.1
  },
  "luminance": 0.08302
}

Semantic roles & 50–950 ramp

primary
#3B4E8D
secondary
#B1A373
accent
#B557D1
background
#F7F7FA
surface
#EEEEF4
border
#C9C9CE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #3B4E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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