#3A4AAB#3A4AAB

#3A4AAB is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.4% C 0.155 H 271.7°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#3A4AAB
RGBrgb(58, 74, 171)
HSLhsl(232, 49%, 45%)
HSVhsv(232, 66%, 67%)
CMYKcmyk(66.1%, 56.7%, 0%, 32.9%)
CIE-LABlab(35.47, 25.74, -54.01)
CIE-LCHlch(35.47, 59.83, 295.48°)
OKLaboklab(45.37% 0.0046 -0.1553)
OKLCHoklch(45.37% 0.155 271.7)
XYZxyz(11.5419, 8.7363, 39.5982)
Luminance0.0874 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4AAB #AB9B3A
analogous
#3A83AB #3A4AAB #623AAB
triadic
#3A4AAB #AB3A4A #4AAB3A
tetradic
#3A4AAB #AB3A83 #AB9B3A #3AAB62
square
#3A4AAB #AB3A83 #AB9B3A #3AAB62
split-complementary
#3A4AAB #AB623A #83AB3A
monochromatic
#1B2250 #2A367D #3A4AAB #5B6AC7 #8994D7

Accessibility & contrast

On white

7.64
#3A4AAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#3A4AAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4AAB
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4AAB#FFFFFF#000000##FFFFFF
##3A4AAB1.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AE
Deuteranopia (green-blind)
#004FA9
Tritanopia (blue-blind)
#006173
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3a4aab;
/* rgb */ color: rgb(58, 74, 171);
/* oklch */ color: oklch(45.4% 0.155 271.7);
Tailwind
colors: {
  custom: {
    50: '#7d7cc5',
    500: '#3a4aab',
    950: '#000000',
  },
}
SCSS
$custom: #3a4aab;
$custom-light: #7d7cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4aab",
  "rgb": {
    "r": 58,
    "g": 74,
    "b": 171
  },
  "hsl": {
    "h": 231.504,
    "s": 49.345,
    "l": 44.902
  },
  "oklch": {
    "l": 0.45366,
    "c": 0.15542,
    "h": 271.7
  },
  "luminance": 0.08737
}

Semantic roles & 50–950 ramp

primary
#3A4AAB
secondary
#C1B880
accent
#C54FD9
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3A4AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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