#3A4AA9#3A4AA9

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

Color values

HEX#3A4AA9
RGBrgb(58, 74, 169)
HSLhsl(231, 49%, 45%)
HSVhsv(231, 66%, 66%)
CMYKcmyk(65.7%, 56.2%, 0%, 33.7%)
CIE-LABlab(35.32, 25.02, -53.06)
CIE-LCHlch(35.32, 58.67, 295.25°)
OKLaboklab(45.21% 0.0045 -0.1526)
OKLCHoklch(45.21% 0.153 271.7)
XYZxyz(11.3527, 8.6607, 38.6018)
Luminance0.0866 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4AA9 #A9993A
analogous
#3A82A9 #3A4AA9 #613AA9
triadic
#3A4AA9 #A93A4A #4AA93A
tetradic
#3A4AA9 #A93A82 #A9993A #3AA961
square
#3A4AA9 #A93A82 #A9993A #3AA961
split-complementary
#3A4AA9 #A9613A #82A93A
monochromatic
#1B224E #2A367B #3A4AA9 #5A6AC6 #8793D6

Accessibility & contrast

On white

7.69
#3A4AA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#3A4AA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4AA9
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4AA9#FFFFFF#000000##FFFFFF
##3A4AA91.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AC
Deuteranopia (green-blind)
#004EA7
Tritanopia (blue-blind)
#006172
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3a4aa9;
/* rgb */ color: rgb(58, 74, 169);
/* oklch */ color: oklch(45.2% 0.153 271.7);
Tailwind
colors: {
  custom: {
    50: '#7d7cc3',
    500: '#3a4aa9',
    950: '#000000',
  },
}
SCSS
$custom: #3a4aa9;
$custom-light: #7d7cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4aa9",
  "rgb": {
    "r": 58,
    "g": 74,
    "b": 169
  },
  "hsl": {
    "h": 231.351,
    "s": 48.899,
    "l": 44.51
  },
  "oklch": {
    "l": 0.45207,
    "c": 0.15263,
    "h": 271.7
  },
  "luminance": 0.08662
}

Semantic roles & 50–950 ramp

primary
#3A4AA9
secondary
#C0B77F
accent
#C54FD8
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3A4AA9

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

Preview Lab → · Contrast checker → · Palette generator →

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