#3B4E8A#3B4E8A

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

Color values

HEX#3B4E8A
RGBrgb(59, 78, 138)
HSLhsl(226, 40%, 39%)
HSVhsv(226, 57%, 54%)
CMYKcmyk(57.2%, 43.5%, 0%, 45.9%)
CIE-LABlab(34.42, 11.52, -35.77)
CIE-LCHlch(34.42, 37.58, 287.85°)
OKLaboklab(43.88% -0.0023 -0.1016)
OKLCHoklch(43.88% 0.102 268.7)
XYZxyz(9.1139, 8.2129, 25.1448)
Luminance0.0821 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B4E8A #8A773B
analogous
#3B758A #3B4E8A #4F3B8A
triadic
#3B4E8A #8A3B4E #4E8A3B
tetradic
#3B4E8A #8A3B75 #8A773B #3B8A4F
square
#3B4E8A #8A3B75 #8A773B #3B8A4F
split-complementary
#3B4E8A #8A4F3B #758A3B
monochromatic
#161E34 #29365F #3B4E8A #4F67B4 #798CC6

Accessibility & contrast

On white

7.95
#3B4E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#3B4E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B4E8A
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B4E8A#FFFFFF#000000##FFFFFF
##3B4E8A1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34558C
Deuteranopia (green-blind)
#2B4E89
Tritanopia (blue-blind)
#0C5B65
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3b4e8a;
/* rgb */ color: rgb(59, 78, 138);
/* oklch */ color: oklch(43.9% 0.102 268.7);
Tailwind
colors: {
  custom: {
    50: '#777fac',
    500: '#3b4e8a',
    950: '#000000',
  },
}
SCSS
$custom: #3b4e8a;
$custom-light: #777fac;
$custom-dark: #000000;
JSON
{
  "hex": "#3b4e8a",
  "rgb": {
    "r": 59,
    "g": 78,
    "b": 138
  },
  "hsl": {
    "h": 225.57,
    "s": 40.102,
    "l": 38.627
  },
  "oklch": {
    "l": 0.43878,
    "c": 0.10167,
    "h": 268.7
  },
  "luminance": 0.08214
}

Semantic roles & 50–950 ramp

primary
#3B4E8A
secondary
#AFA171
accent
#B358D0
background
#F7F7FA
surface
#EEEEF4
border
#C9C9CE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #3B4E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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