#3B4E8F#3B4E8F

#3B4E8F is a dark, moderate blue. Relative luminance 0.084; OKLCH L 44.2% C 0.109 H 269.3°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#3B4E8F
RGBrgb(59, 78, 143)
HSLhsl(226, 42%, 40%)
HSVhsv(226, 59%, 56%)
CMYKcmyk(58.7%, 45.5%, 0%, 43.9%)
CIE-LABlab(34.72, 13.28, -38.34)
CIE-LCHlch(34.72, 40.58, 289.10°)
OKLaboklab(44.21% -0.0013 -0.1092)
OKLCHoklch(44.21% 0.109 269.3)
XYZxyz(9.4843, 8.3610, 27.0953)
Luminance0.0836 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B4E8F #8F7C3B
analogous
#3B788F #3B4E8F #523B8F
triadic
#3B4E8F #8F3B4E #4E8F3B
tetradic
#3B4E8F #8F3B78 #8F7C3B #3B8F52
square
#3B4E8F #8F3B78 #8F7C3B #3B8F52
split-complementary
#3B4E8F #8F523B #788F3B
monochromatic
#171F38 #293664 #3B4E8F #5067B7 #7C8DC9

Accessibility & contrast

On white

7.86
#3B4E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#3B4E8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B4E8F
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B4E8F#FFFFFF#000000##FFFFFF
##3B4E8F1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315691
Deuteranopia (green-blind)
#264E8E
Tritanopia (blue-blind)
#005C67
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3b4e8f;
/* rgb */ color: rgb(59, 78, 143);
/* oklch */ color: oklch(44.2% 0.109 269.3);
Tailwind
colors: {
  custom: {
    50: '#787fb0',
    500: '#3b4e8f',
    950: '#000000',
  },
}
SCSS
$custom: #3b4e8f;
$custom-light: #787fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#3b4e8f",
  "rgb": {
    "r": 59,
    "g": 78,
    "b": 143
  },
  "hsl": {
    "h": 226.429,
    "s": 41.584,
    "l": 39.608
  },
  "oklch": {
    "l": 0.44206,
    "c": 0.1092,
    "h": 269.3
  },
  "luminance": 0.08362
}

Semantic roles & 50–950 ramp

primary
#3B4E8F
secondary
#B2A473
accent
#B656D1
background
#F7F7FA
surface
#EEEEF5
border
#C9C9CF
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #3B4E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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