#3A4BB7#3A4BB7

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

Color values

HEX#3A4BB7
RGBrgb(58, 75, 183)
HSLhsl(232, 52%, 47%)
HSVhsv(232, 68%, 72%)
CMYKcmyk(68.3%, 59%, 0%, 28.2%)
CIE-LABlab(36.65, 29.39, -59.21)
CIE-LCHlch(36.65, 66.10, 296.40°)
OKLaboklab(46.53% 0.0039 -0.1706)
OKLCHoklch(46.53% 0.171 271.3)
XYZxyz(12.8054, 9.3494, 45.9203)
Luminance0.0935 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4BB7 #B7A63A
analogous
#3A8AB7 #3A4BB7 #683AB7
triadic
#3A4BB7 #B73A4B #4BB73A
tetradic
#3A4BB7 #B73A8A #B7A63A #3AB768
square
#3A4BB7 #B73A8A #B7A63A #3AB768
split-complementary
#3A4BB7 #B7683A #8AB73A
monochromatic
#1D255A #2B3889 #3A4BB7 #6170CD #909ADC

Accessibility & contrast

On white

7.32
#3A4BB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#3A4BB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4BB7
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4BB7#FFFFFF#000000##FFFFFF
##3A4BB71.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBB
Deuteranopia (green-blind)
#0051B5
Tritanopia (blue-blind)
#006679
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3a4bb7;
/* rgb */ color: rgb(58, 75, 183);
/* oklch */ color: oklch(46.5% 0.171 271.3);
Tailwind
colors: {
  custom: {
    50: '#7f7dcd',
    500: '#3a4bb7',
    950: '#000000',
  },
}
SCSS
$custom: #3a4bb7;
$custom-light: #7f7dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4bb7",
  "rgb": {
    "r": 58,
    "g": 75,
    "b": 183
  },
  "hsl": {
    "h": 231.84,
    "s": 51.867,
    "l": 47.255
  },
  "oklch": {
    "l": 0.46532,
    "c": 0.17067,
    "h": 271.3
  },
  "luminance": 0.09351
}

Semantic roles & 50–950 ramp

primary
#3A4BB7
secondary
#C7BE86
accent
#C84CDB
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #3A4BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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