#3B4FA2#3B4FA2

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

Color values

HEX#3B4FA2
RGBrgb(59, 79, 162)
HSLhsl(228, 47%, 43%)
HSVhsv(228, 64%, 64%)
CMYKcmyk(63.6%, 51.2%, 0%, 36.5%)
CIE-LABlab(36.23, 19.40, -47.41)
CIE-LCHlch(36.23, 51.22, 292.25°)
OKLaboklab(45.75% 0.0002 -0.1358)
OKLCHoklch(45.75% 0.136 270.1)
XYZxyz(11.1190, 9.1294, 35.3516)
Luminance0.0913 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B4FA2 #A28E3B
analogous
#3B82A2 #3B4FA2 #5B3BA2
triadic
#3B4FA2 #A23B4F #4FA23B
tetradic
#3B4FA2 #A23B82 #A28E3B #3BA25B
square
#3B4FA2 #A23B82 #A28E3B #3BA25B
split-complementary
#3B4FA2 #A25B3B #82A23B
monochromatic
#1A2348 #2B3975 #3B4FA2 #586DC2 #8594D3

Accessibility & contrast

On white

7.43
#3B4FA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#3B4FA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B4FA2
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B4FA2#FFFFFF#000000##FFFFFF
##3B4FA21.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215AA5
Deuteranopia (green-blind)
#0351A0
Tritanopia (blue-blind)
#006271
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3b4fa2;
/* rgb */ color: rgb(59, 79, 162);
/* oklch */ color: oklch(45.8% 0.136 270.1);
Tailwind
colors: {
  custom: {
    50: '#7b80be',
    500: '#3b4fa2',
    950: '#000000',
  },
}
SCSS
$custom: #3b4fa2;
$custom-light: #7b80be;
$custom-dark: #000000;
JSON
{
  "hex": "#3b4fa2",
  "rgb": {
    "r": 59,
    "g": 79,
    "b": 162
  },
  "hsl": {
    "h": 228.35,
    "s": 46.606,
    "l": 43.333
  },
  "oklch": {
    "l": 0.4575,
    "c": 0.13582,
    "h": 270.1
  },
  "luminance": 0.0913
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3B4FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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