#3A4EAA#3A4EAA

#3A4EAA is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.1% C 0.149 H 270.3°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#3A4EAA
RGBrgb(58, 78, 170)
HSLhsl(229, 49%, 45%)
HSVhsv(229, 66%, 67%)
CMYKcmyk(65.9%, 54.1%, 0%, 33.3%)
CIE-LABlab(36.46, 22.76, -51.82)
CIE-LCHlch(36.46, 56.60, 293.72°)
OKLaboklab(46.08% 0.0008 -0.1488)
OKLCHoklch(46.08% 0.149 270.3)
XYZxyz(11.7226, 9.2495, 39.1900)
Luminance0.0925 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4EAA #AA963A
analogous
#3A86AA #3A4EAA #5E3AAA
triadic
#3A4EAA #AA3A4E #4EAA3A
tetradic
#3A4EAA #AA3A86 #AA963A #3AAA5E
square
#3A4EAA #AA3A86 #AA963A #3AAA5E
split-complementary
#3A4EAA #AA5E3A #86AA3A
monochromatic
#1B244F #2A397C #3A4EAA #5A6EC7 #8896D6

Accessibility & contrast

On white

7.37
#3A4EAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A4EAA
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4EAA#FFFFFF#000000##FFFFFF
##3A4EAA1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E5BAD
Deuteranopia (green-blind)
#0051A8
Tritanopia (blue-blind)
#006474
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3a4eaa;
/* rgb */ color: rgb(58, 78, 170);
/* oklch */ color: oklch(46.1% 0.149 270.3);
Tailwind
colors: {
  custom: {
    50: '#7d7fc4',
    500: '#3a4eaa',
    950: '#000000',
  },
}
SCSS
$custom: #3a4eaa;
$custom-light: #7d7fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4eaa",
  "rgb": {
    "r": 58,
    "g": 78,
    "b": 170
  },
  "hsl": {
    "h": 229.286,
    "s": 49.123,
    "l": 44.706
  },
  "oklch": {
    "l": 0.46084,
    "c": 0.14884,
    "h": 270.3
  },
  "luminance": 0.09251
}

Semantic roles & 50–950 ramp

primary
#3A4EAA
secondary
#C1B57F
accent
#C04FD9
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3A4EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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