#3B4FA6#3B4FA6

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

Color values

HEX#3B4FA6
RGBrgb(59, 79, 166)
HSLhsl(229, 48%, 44%)
HSVhsv(229, 64%, 65%)
CMYKcmyk(64.5%, 52.4%, 0%, 34.9%)
CIE-LABlab(36.51, 20.84, -49.36)
CIE-LCHlch(36.51, 53.57, 292.89°)
OKLaboklab(46.05% 0.0006 -0.1416)
OKLCHoklch(46.05% 0.142 270.2)
XYZxyz(11.4802, 9.2739, 37.2541)
Luminance0.0927 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B4FA6 #A6923B
analogous
#3B85A6 #3B4FA6 #5D3BA6
triadic
#3B4FA6 #A63B4F #4FA63B
tetradic
#3B4FA6 #A63B85 #A6923B #3BA65D
square
#3B4FA6 #A63B85 #A6923B #3BA65D
split-complementary
#3B4FA6 #A65D3B #85A63B
monochromatic
#1B244C #2B3A79 #3B4FA6 #5A6EC4 #8795D4

Accessibility & contrast

On white

7.36
#3B4FA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B4FA6
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B4FA6#FFFFFF#000000##FFFFFF
##3B4FA61.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5BA9
Deuteranopia (green-blind)
#0051A4
Tritanopia (blue-blind)
#006373
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3b4fa6;
/* rgb */ color: rgb(59, 79, 166);
/* oklch */ color: oklch(46.0% 0.142 270.2);
Tailwind
colors: {
  custom: {
    50: '#7c80c1',
    500: '#3b4fa6',
    950: '#000000',
  },
}
SCSS
$custom: #3b4fa6;
$custom-light: #7c80c1;
$custom-dark: #000000;
JSON
{
  "hex": "#3b4fa6",
  "rgb": {
    "r": 59,
    "g": 79,
    "b": 166
  },
  "hsl": {
    "h": 228.785,
    "s": 47.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.46045,
    "c": 0.14156,
    "h": 270.2
  },
  "luminance": 0.09275
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3B4FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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