#3A4BB6#3A4BB6

#3A4BB6 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.5% C 0.169 H 271.3°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#3A4BB6
RGBrgb(58, 75, 182)
HSLhsl(232, 52%, 47%)
HSVhsv(232, 68%, 71%)
CMYKcmyk(68.1%, 58.8%, 0%, 28.6%)
CIE-LABlab(36.57, 29.03, -58.75)
CIE-LCHlch(36.57, 65.53, 296.30°)
OKLaboklab(46.45% 0.0039 -0.1693)
OKLCHoklch(46.45% 0.169 271.3)
XYZxyz(12.7016, 9.3079, 45.3741)
Luminance0.0931 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4BB6 #B6A53A
analogous
#3A89B6 #3A4BB6 #673AB6
triadic
#3A4BB6 #B63A4B #4BB63A
tetradic
#3A4BB6 #B63A89 #B6A53A #3AB667
square
#3A4BB6 #B63A89 #B6A53A #3AB667
split-complementary
#3A4BB6 #B6673A #89B63A
monochromatic
#1C2559 #2B3888 #3A4BB6 #616FCD #8F9ADB

Accessibility & contrast

On white

7.34
#3A4BB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#3A4BB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4BB6
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4BB6#FFFFFF#000000##FFFFFF
##3A4BB61.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBA
Deuteranopia (green-blind)
#0051B4
Tritanopia (blue-blind)
#006579
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3a4bb6;
/* rgb */ color: rgb(58, 75, 182);
/* oklch */ color: oklch(46.5% 0.169 271.3);
Tailwind
colors: {
  custom: {
    50: '#7f7dcd',
    500: '#3a4bb6',
    950: '#000000',
  },
}
SCSS
$custom: #3a4bb6;
$custom-light: #7f7dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4bb6",
  "rgb": {
    "r": 58,
    "g": 75,
    "b": 182
  },
  "hsl": {
    "h": 231.774,
    "s": 51.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.4645,
    "c": 0.16931,
    "h": 271.3
  },
  "luminance": 0.09309
}

Semantic roles & 50–950 ramp

primary
#3A4BB6
secondary
#C6BD86
accent
#C84DDB
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3A4BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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