#3B4FA5#3B4FA5

#3B4FA5 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.0% C 0.140 H 270.2°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#3B4FA5
RGBrgb(59, 79, 165)
HSLhsl(229, 47%, 44%)
HSVhsv(229, 64%, 65%)
CMYKcmyk(64.2%, 52.1%, 0%, 35.3%)
CIE-LABlab(36.44, 20.48, -48.87)
CIE-LCHlch(36.44, 52.99, 292.73°)
OKLaboklab(45.97% 0.0005 -0.1401)
OKLCHoklch(45.97% 0.14 270.2)
XYZxyz(11.3889, 9.2374, 36.7728)
Luminance0.0924 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B4FA5 #A5913B
analogous
#3B84A5 #3B4FA5 #5C3BA5
triadic
#3B4FA5 #A53B4F #4FA53B
tetradic
#3B4FA5 #A53B84 #A5913B #3BA55C
square
#3B4FA5 #A53B84 #A5913B #3BA55C
split-complementary
#3B4FA5 #A55C3B #84A53B
monochromatic
#1B244B #2B3978 #3B4FA5 #596DC4 #8695D4

Accessibility & contrast

On white

7.37
#3B4FA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#3B4FA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B4FA5
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B4FA5#FFFFFF#000000##FFFFFF
##3B4FA51.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5BA8
Deuteranopia (green-blind)
#0051A3
Tritanopia (blue-blind)
#006372
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3b4fa5;
/* rgb */ color: rgb(59, 79, 165);
/* oklch */ color: oklch(46.0% 0.140 270.2);
Tailwind
colors: {
  custom: {
    50: '#7c80c0',
    500: '#3b4fa5',
    950: '#000000',
  },
}
SCSS
$custom: #3b4fa5;
$custom-light: #7c80c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3b4fa5",
  "rgb": {
    "r": 59,
    "g": 79,
    "b": 165
  },
  "hsl": {
    "h": 228.679,
    "s": 47.321,
    "l": 43.922
  },
  "oklch": {
    "l": 0.45971,
    "c": 0.14013,
    "h": 270.2
  },
  "luminance": 0.09238
}

Semantic roles & 50–950 ramp

primary
#3B4FA5
secondary
#BEB27E
accent
#BE51D7
background
#F8F7FB
surface
#EFEEF7
border
#CAC9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #3B4FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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