#3A4FA9#3A4FA9

#3A4FA9 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.2% C 0.146 H 269.9°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#3A4FA9
RGBrgb(58, 79, 169)
HSLhsl(229, 49%, 45%)
HSVhsv(229, 66%, 66%)
CMYKcmyk(65.7%, 53.3%, 0%, 33.7%)
CIE-LABlab(36.66, 21.75, -50.90)
CIE-LCHlch(36.66, 55.35, 293.13°)
OKLaboklab(46.21% -0.0002 -0.1461)
OKLCHoklch(46.21% 0.146 269.9)
XYZxyz(11.6999, 9.3550, 38.7175)
Luminance0.0936 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4FA9 #A9943A
analogous
#3A87A9 #3A4FA9 #5D3AA9
triadic
#3A4FA9 #A93A4F #4FA93A
tetradic
#3A4FA9 #A93A87 #A9943A #3AA95D
square
#3A4FA9 #A93A87 #A9943A #3AA95D
split-complementary
#3A4FA9 #A95D3A #87A93A
monochromatic
#1B244E #2A3A7B #3A4FA9 #5A6EC6 #8796D6

Accessibility & contrast

On white

7.31
#3A4FA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#3A4FA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4FA9
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4FA9#FFFFFF#000000##FFFFFF
##3A4FA91.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a4fa9;
/* rgb */ color: rgb(58, 79, 169);
/* oklch */ color: oklch(46.2% 0.146 269.9);
Tailwind
colors: {
  custom: {
    50: '#7c80c3',
    500: '#3a4fa9',
    950: '#000000',
  },
}
SCSS
$custom: #3a4fa9;
$custom-light: #7c80c3;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4fa9",
  "rgb": {
    "r": 58,
    "g": 79,
    "b": 169
  },
  "hsl": {
    "h": 228.649,
    "s": 48.899,
    "l": 44.51
  },
  "oklch": {
    "l": 0.46212,
    "c": 0.14613,
    "h": 269.9
  },
  "luminance": 0.09356
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A4FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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