#3B4FA1#3B4FA1

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

Color values

HEX#3B4FA1
RGBrgb(59, 79, 161)
HSLhsl(228, 46%, 43%)
HSVhsv(228, 63%, 63%)
CMYKcmyk(63.4%, 50.9%, 0%, 36.9%)
CIE-LABlab(36.16, 19.04, -46.91)
CIE-LCHlch(36.16, 50.63, 292.09°)
OKLaboklab(45.68% 0.0001 -0.1344)
OKLCHoklch(45.68% 0.134 270)
XYZxyz(11.0305, 9.0940, 34.8853)
Luminance0.0910 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B4FA1 #A18D3B
analogous
#3B82A1 #3B4FA1 #5A3BA1
triadic
#3B4FA1 #A13B4F #4FA13B
tetradic
#3B4FA1 #A13B82 #A18D3B #3BA15A
square
#3B4FA1 #A13B82 #A18D3B #3BA15A
split-complementary
#3B4FA1 #A15A3B #82A13B
monochromatic
#1A2347 #2B3974 #3B4FA1 #586CC2 #8494D2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3B4FA1#FFFFFF#000000##FFFFFF
##3B4FA11.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)
#225AA4
Deuteranopia (green-blind)
#07519F
Tritanopia (blue-blind)
#006270
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3b4fa1;
/* rgb */ color: rgb(59, 79, 161);
/* oklch */ color: oklch(45.7% 0.134 270.0);
Tailwind
colors: {
  custom: {
    50: '#7b80bd',
    500: '#3b4fa1',
    950: '#000000',
  },
}
SCSS
$custom: #3b4fa1;
$custom-light: #7b80bd;
$custom-dark: #000000;
JSON
{
  "hex": "#3b4fa1",
  "rgb": {
    "r": 59,
    "g": 79,
    "b": 161
  },
  "hsl": {
    "h": 228.235,
    "s": 46.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.45677,
    "c": 0.13438,
    "h": 270
  },
  "luminance": 0.09095
}

Semantic roles & 50–950 ramp

primary
#3B4FA1
secondary
#BCAF7C
accent
#BC52D6
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #3B4FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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