#3A4AAE#3A4AAE

#3A4AAE is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.6% C 0.160 H 271.7°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#3A4AAE
RGBrgb(58, 74, 174)
HSLhsl(232, 50%, 45%)
HSVhsv(232, 67%, 68%)
CMYKcmyk(66.7%, 57.5%, 0%, 31.8%)
CIE-LABlab(35.70, 26.82, -55.43)
CIE-LCHlch(35.70, 61.58, 295.82°)
OKLaboklab(45.61% 0.0046 -0.1595)
OKLCHoklch(45.61% 0.16 271.7)
XYZxyz(11.8311, 8.8520, 41.1213)
Luminance0.0885 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4AAE #AE9E3A
analogous
#3A84AE #3A4AAE #643AAE
triadic
#3A4AAE #AE3A4A #4AAE3A
tetradic
#3A4AAE #AE3A84 #AE9E3A #3AAE64
square
#3A4AAE #AE3A84 #AE9E3A #3AAE64
split-complementary
#3A4AAE #AE643A #84AE3A
monochromatic
#1B2352 #2B3680 #3A4AAE #5C6BC9 #8A95D8

Accessibility & contrast

On white

7.58
#3A4AAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#3A4AAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4AAE
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4AAE#FFFFFF#000000##FFFFFF
##3A4AAE1.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B1
Deuteranopia (green-blind)
#004FAC
Tritanopia (blue-blind)
#006274
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3a4aae;
/* rgb */ color: rgb(58, 74, 174);
/* oklch */ color: oklch(45.6% 0.160 271.7);
Tailwind
colors: {
  custom: {
    50: '#7e7cc7',
    500: '#3a4aae',
    950: '#000000',
  },
}
SCSS
$custom: #3a4aae;
$custom-light: #7e7cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4aae",
  "rgb": {
    "r": 58,
    "g": 74,
    "b": 174
  },
  "hsl": {
    "h": 231.724,
    "s": 50,
    "l": 45.49
  },
  "oklch": {
    "l": 0.45606,
    "c": 0.15959,
    "h": 271.7
  },
  "luminance": 0.08853
}

Semantic roles & 50–950 ramp

primary
#3A4AAE
secondary
#C2B981
accent
#C64EDA
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3A4AAE

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

Preview Lab → · Contrast checker → · Palette generator →

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