#3A4AAD#3A4AAD

#3A4AAD is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.5% C 0.158 H 271.7°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#3A4AAD
RGBrgb(58, 74, 173)
HSLhsl(232, 50%, 45%)
HSVhsv(232, 66%, 68%)
CMYKcmyk(66.5%, 57.2%, 0%, 32.2%)
CIE-LABlab(35.62, 26.46, -54.96)
CIE-LCHlch(35.62, 61.00, 295.70°)
OKLaboklab(45.53% 0.0046 -0.1581)
OKLCHoklch(45.53% 0.158 271.7)
XYZxyz(11.7340, 8.8132, 40.6098)
Luminance0.0881 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4AAD #AD9D3A
analogous
#3A84AD #3A4AAD #633AAD
triadic
#3A4AAD #AD3A4A #4AAD3A
tetradic
#3A4AAD #AD3A84 #AD9D3A #3AAD63
square
#3A4AAD #AD3A84 #AD9D3A #3AAD63
split-complementary
#3A4AAD #AD633A #84AD3A
monochromatic
#1B2351 #2B367F #3A4AAD #5C6BC8 #8A95D8

Accessibility & contrast

On white

7.60
#3A4AAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#3A4AAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4AAD
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4AAD#FFFFFF#000000##FFFFFF
##3A4AAD1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a4aad;
/* rgb */ color: rgb(58, 74, 173);
/* oklch */ color: oklch(45.5% 0.158 271.7);
Tailwind
colors: {
  custom: {
    50: '#7d7cc6',
    500: '#3a4aad',
    950: '#000000',
  },
}
SCSS
$custom: #3a4aad;
$custom-light: #7d7cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4aad",
  "rgb": {
    "r": 58,
    "g": 74,
    "b": 173
  },
  "hsl": {
    "h": 231.652,
    "s": 49.784,
    "l": 45.294
  },
  "oklch": {
    "l": 0.45526,
    "c": 0.15821,
    "h": 271.7
  },
  "luminance": 0.08814
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A4AAD

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

Preview Lab → · Contrast checker → · Palette generator →

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