#3B4EA5#3B4EA5

#3B4EA5 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.8% C 0.141 H 270.6°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#3B4EA5
RGBrgb(59, 78, 165)
HSLhsl(229, 47%, 44%)
HSVhsv(229, 64%, 65%)
CMYKcmyk(64.2%, 52.7%, 0%, 35.3%)
CIE-LABlab(36.16, 21.13, -49.31)
CIE-LCHlch(36.16, 53.65, 293.20°)
OKLaboklab(45.77% 0.0015 -0.1414)
OKLCHoklch(45.77% 0.141 270.6)
XYZxyz(11.3173, 9.0942, 36.7490)
Luminance0.0910 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B4EA5 #A5923B
analogous
#3B83A5 #3B4EA5 #5D3BA5
triadic
#3B4EA5 #A53B4E #4EA53B
tetradic
#3B4EA5 #A53B83 #A5923B #3BA55D
square
#3B4EA5 #A53B83 #A5923B #3BA55D
split-complementary
#3B4EA5 #A55D3B #83A53B
monochromatic
#1B234B #2B3978 #3B4EA5 #596CC4 #8694D4

Accessibility & contrast

On white

7.45
#3B4EA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#3B4EA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B4EA5
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B4EA5#FFFFFF#000000##FFFFFF
##3B4EA51.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195AA8
Deuteranopia (green-blind)
#0051A3
Tritanopia (blue-blind)
#006272
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3b4ea5;
/* rgb */ color: rgb(59, 78, 165);
/* oklch */ color: oklch(45.8% 0.141 270.6);
Tailwind
colors: {
  custom: {
    50: '#7c7fc0',
    500: '#3b4ea5',
    950: '#000000',
  },
}
SCSS
$custom: #3b4ea5;
$custom-light: #7c7fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#3b4ea5",
  "rgb": {
    "r": 59,
    "g": 78,
    "b": 165
  },
  "hsl": {
    "h": 229.245,
    "s": 47.321,
    "l": 43.922
  },
  "oklch": {
    "l": 0.45765,
    "c": 0.14144,
    "h": 270.6
  },
  "luminance": 0.09095
}

Semantic roles & 50–950 ramp

primary
#3B4EA5
secondary
#BEB37E
accent
#BF51D7
background
#F8F7FB
surface
#EFEEF7
border
#CAC9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #3B4EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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