#3A4DAE#3A4DAE

#3A4DAE is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.2% C 0.156 H 270.7°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#3A4DAE
RGBrgb(58, 77, 174)
HSLhsl(230, 50%, 45%)
HSVhsv(230, 67%, 68%)
CMYKcmyk(66.7%, 55.7%, 0%, 31.8%)
CIE-LABlab(36.48, 24.86, -54.16)
CIE-LCHlch(36.48, 59.59, 294.66°)
OKLaboklab(46.2% 0.002 -0.1557)
OKLCHoklch(46.2% 0.156 270.7)
XYZxyz(12.0362, 9.2622, 41.1897)
Luminance0.0926 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4DAE #AE9B3A
analogous
#3A87AE #3A4DAE #613AAE
triadic
#3A4DAE #AE3A4D #4DAE3A
tetradic
#3A4DAE #AE3A87 #AE9B3A #3AAE61
square
#3A4DAE #AE3A87 #AE9B3A #3AAE61
split-complementary
#3A4DAE #AE613A #87AE3A
monochromatic
#1B2452 #2B3980 #3A4DAE #5C6EC9 #8A97D8

Accessibility & contrast

On white

7.36
#3A4DAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#3A4DAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4DAE
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4DAE#FFFFFF#000000##FFFFFF
##3A4DAE1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB1
Deuteranopia (green-blind)
#0051AC
Tritanopia (blue-blind)
#006476
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3a4dae;
/* rgb */ color: rgb(58, 77, 174);
/* oklch */ color: oklch(46.2% 0.156 270.7);
Tailwind
colors: {
  custom: {
    50: '#7d7ec7',
    500: '#3a4dae',
    950: '#000000',
  },
}
SCSS
$custom: #3a4dae;
$custom-light: #7d7ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4dae",
  "rgb": {
    "r": 58,
    "g": 77,
    "b": 174
  },
  "hsl": {
    "h": 230.172,
    "s": 50,
    "l": 45.49
  },
  "oklch": {
    "l": 0.46195,
    "c": 0.15574,
    "h": 270.7
  },
  "luminance": 0.09263
}

Semantic roles & 50–950 ramp

primary
#3A4DAE
secondary
#C2B881
accent
#C34EDA
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3A4DAE

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

Preview Lab → · Contrast checker → · Palette generator →

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