#3B4C8A#3B4C8A

#3B4C8A is a dark, moderate blue. Relative luminance 0.079; OKLCH L 43.4% C 0.104 H 270.1°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#3B4C8A
RGBrgb(59, 76, 138)
HSLhsl(227, 40%, 39%)
HSVhsv(227, 57%, 54%)
CMYKcmyk(57.2%, 44.9%, 0%, 45.9%)
CIE-LABlab(33.84, 12.84, -36.69)
CIE-LCHlch(33.84, 38.87, 289.28°)
OKLaboklab(43.43% 0.0001 -0.1044)
OKLCHoklch(43.43% 0.104 270.1)
XYZxyz(8.9740, 7.9330, 25.0982)
Luminance0.0793 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B4C8A #8A793B
analogous
#3B738A #3B4C8A #513B8A
triadic
#3B4C8A #8A3B4C #4C8A3B
tetradic
#3B4C8A #8A3B73 #8A793B #3B8A51
square
#3B4C8A #8A3B73 #8A793B #3B8A51
split-complementary
#3B4C8A #8A513B #738A3B
monochromatic
#161D34 #29345F #3B4C8A #4F64B4 #798AC6

Accessibility & contrast

On white

8.12
#3B4C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#3B4C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B4C8A
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B4C8A#FFFFFF#000000##FFFFFF
##3B4C8A1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31538C
Deuteranopia (green-blind)
#274C89
Tritanopia (blue-blind)
#0D5A64
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3b4c8a;
/* rgb */ color: rgb(59, 76, 138);
/* oklch */ color: oklch(43.4% 0.104 270.1);
Tailwind
colors: {
  custom: {
    50: '#777dac',
    500: '#3b4c8a',
    950: '#000000',
  },
}
SCSS
$custom: #3b4c8a;
$custom-light: #777dac;
$custom-dark: #000000;
JSON
{
  "hex": "#3b4c8a",
  "rgb": {
    "r": 59,
    "g": 76,
    "b": 138
  },
  "hsl": {
    "h": 227.089,
    "s": 40.102,
    "l": 38.627
  },
  "oklch": {
    "l": 0.43434,
    "c": 0.10437,
    "h": 270.1
  },
  "luminance": 0.07934
}

Semantic roles & 50–950 ramp

primary
#3B4C8A
secondary
#AFA271
accent
#B658D0
background
#F7F7FA
surface
#EEEEF4
border
#C9C9CE
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #3B4C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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