#3A4EA9#3A4EA9

#3A4EA9 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.0% C 0.147 H 270.3°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#3A4EA9
RGBrgb(58, 78, 169)
HSLhsl(229, 49%, 45%)
HSVhsv(229, 66%, 66%)
CMYKcmyk(65.7%, 53.8%, 0%, 33.7%)
CIE-LABlab(36.39, 22.40, -51.34)
CIE-LCHlch(36.39, 56.01, 293.57°)
OKLaboklab(46.01% 0.0008 -0.1474)
OKLCHoklch(46.01% 0.147 270.3)
XYZxyz(11.6283, 9.2118, 38.6937)
Luminance0.0921 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4EA9 #A9953A
analogous
#3A86A9 #3A4EA9 #5D3AA9
triadic
#3A4EA9 #A93A4E #4EA93A
tetradic
#3A4EA9 #A93A86 #A9953A #3AA95D
square
#3A4EA9 #A93A86 #A9953A #3AA95D
split-complementary
#3A4EA9 #A95D3A #86A93A
monochromatic
#1B244E #2A397B #3A4EA9 #5A6DC6 #8796D6

Accessibility & contrast

On white

7.39
#3A4EA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#3A4EA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4EA9
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4EA9#FFFFFF#000000##FFFFFF
##3A4EA91.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#105BAC
Deuteranopia (green-blind)
#0051A7
Tritanopia (blue-blind)
#006474
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3a4ea9;
/* rgb */ color: rgb(58, 78, 169);
/* oklch */ color: oklch(46.0% 0.147 270.3);
Tailwind
colors: {
  custom: {
    50: '#7c7fc3',
    500: '#3a4ea9',
    950: '#000000',
  },
}
SCSS
$custom: #3a4ea9;
$custom-light: #7c7fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4ea9",
  "rgb": {
    "r": 58,
    "g": 78,
    "b": 169
  },
  "hsl": {
    "h": 229.189,
    "s": 48.899,
    "l": 44.51
  },
  "oklch": {
    "l": 0.46008,
    "c": 0.14743,
    "h": 270.3
  },
  "luminance": 0.09213
}

Semantic roles & 50–950 ramp

primary
#3A4EA9
secondary
#C0B47F
accent
#C04FD8
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3A4EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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