#3B4E8B#3B4E8B

#3B4E8B is a dark, moderate blue. Relative luminance 0.082; OKLCH L 43.9% C 0.103 H 268.9°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#3B4E8B
RGBrgb(59, 78, 139)
HSLhsl(226, 40%, 39%)
HSVhsv(226, 58%, 55%)
CMYKcmyk(57.6%, 43.9%, 0%, 45.5%)
CIE-LABlab(34.48, 11.87, -36.29)
CIE-LCHlch(34.48, 38.18, 288.11°)
OKLaboklab(43.94% -0.0021 -0.1032)
OKLCHoklch(43.94% 0.103 268.9)
XYZxyz(9.1867, 8.2420, 25.5278)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B4E8B #8B783B
analogous
#3B768B #3B4E8B #503B8B
triadic
#3B4E8B #8B3B4E #4E8B3B
tetradic
#3B4E8B #8B3B76 #8B783B #3B8B50
square
#3B4E8B #8B3B76 #8B783B #3B8B50
split-complementary
#3B4E8B #8B503B #768B3B
monochromatic
#171E35 #293660 #3B4E8B #4F67B4 #7A8CC7

Accessibility & contrast

On white

7.93
#3B4E8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#3B4E8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B4E8B
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B4E8B#FFFFFF#000000##FFFFFF
##3B4E8B1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34558D
Deuteranopia (green-blind)
#2A4E8A
Tritanopia (blue-blind)
#0A5B65
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3b4e8b;
/* rgb */ color: rgb(59, 78, 139);
/* oklch */ color: oklch(43.9% 0.103 268.9);
Tailwind
colors: {
  custom: {
    50: '#777fad',
    500: '#3b4e8b',
    950: '#000000',
  },
}
SCSS
$custom: #3b4e8b;
$custom-light: #777fad;
$custom-dark: #000000;
JSON
{
  "hex": "#3b4e8b",
  "rgb": {
    "r": 59,
    "g": 78,
    "b": 139
  },
  "hsl": {
    "h": 225.75,
    "s": 40.404,
    "l": 38.824
  },
  "oklch": {
    "l": 0.43943,
    "c": 0.10318,
    "h": 268.9
  },
  "luminance": 0.08243
}

Semantic roles & 50–950 ramp

primary
#3B4E8B
secondary
#B0A172
accent
#B458D0
background
#F7F7FA
surface
#EEEEF4
border
#C9C9CE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #3B4E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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