#3A4FAA#3A4FAA

#3A4FAA is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.3% C 0.148 H 270.0°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#3A4FAA
RGBrgb(58, 79, 170)
HSLhsl(229, 49%, 45%)
HSVhsv(229, 66%, 67%)
CMYKcmyk(65.9%, 53.5%, 0%, 33.3%)
CIE-LABlab(36.73, 22.11, -51.38)
CIE-LCHlch(36.73, 55.94, 293.28°)
OKLaboklab(46.29% -0.0001 -0.1475)
OKLCHoklch(46.29% 0.148 270)
XYZxyz(11.7941, 9.3927, 39.2138)
Luminance0.0939 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4FAA #AA953A
analogous
#3A87AA #3A4FAA #5D3AAA
triadic
#3A4FAA #AA3A4F #4FAA3A
tetradic
#3A4FAA #AA3A87 #AA953A #3AAA5D
square
#3A4FAA #AA3A87 #AA953A #3AAA5D
split-complementary
#3A4FAA #AA5D3A #87AA3A
monochromatic
#1B254F #2A3A7C #3A4FAA #5A6FC7 #8897D6

Accessibility & contrast

On white

7.29
#3A4FAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#3A4FAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4FAA
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4FAA#FFFFFF#000000##FFFFFF
##3A4FAA1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#135CAD
Deuteranopia (green-blind)
#0052A8
Tritanopia (blue-blind)
#006575
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3a4faa;
/* rgb */ color: rgb(58, 79, 170);
/* oklch */ color: oklch(46.3% 0.148 270.0);
Tailwind
colors: {
  custom: {
    50: '#7d80c4',
    500: '#3a4faa',
    950: '#000000',
  },
}
SCSS
$custom: #3a4faa;
$custom-light: #7d80c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4faa",
  "rgb": {
    "r": 58,
    "g": 79,
    "b": 170
  },
  "hsl": {
    "h": 228.75,
    "s": 49.123,
    "l": 44.706
  },
  "oklch": {
    "l": 0.46287,
    "c": 0.14754,
    "h": 270
  },
  "luminance": 0.09394
}

Semantic roles & 50–950 ramp

primary
#3A4FAA
secondary
#C1B47F
accent
#BF4FD9
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3A4FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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