#3A4FA7#3A4FA7

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

Color values

HEX#3A4FA7
RGBrgb(58, 79, 167)
HSLhsl(228, 48%, 44%)
HSVhsv(228, 65%, 65%)
CMYKcmyk(65.3%, 52.7%, 0%, 34.5%)
CIE-LABlab(36.52, 21.02, -49.94)
CIE-LCHlch(36.52, 54.18, 292.83°)
OKLaboklab(46.06% -0.0004 -0.1433)
OKLCHoklch(46.06% 0.143 269.9)
XYZxyz(11.5136, 9.2805, 37.7363)
Luminance0.0928 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4FA7 #A7923A
analogous
#3A86A7 #3A4FA7 #5C3AA7
triadic
#3A4FA7 #A73A4F #4FA73A
tetradic
#3A4FA7 #A73A86 #A7923A #3AA75C
square
#3A4FA7 #A73A86 #A7923A #3AA75C
split-complementary
#3A4FA7 #A75C3A #86A73A
monochromatic
#1A244C #2A3A7A #3A4FA7 #596EC5 #8695D5

Accessibility & contrast

On white

7.35
#3A4FA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#3A4FA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4FA7
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4FA7#FFFFFF#000000##FFFFFF
##3A4FA71.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195BAA
Deuteranopia (green-blind)
#0051A5
Tritanopia (blue-blind)
#006473
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3a4fa7;
/* rgb */ color: rgb(58, 79, 167);
/* oklch */ color: oklch(46.1% 0.143 269.9);
Tailwind
colors: {
  custom: {
    50: '#7c80c2',
    500: '#3a4fa7',
    950: '#000000',
  },
}
SCSS
$custom: #3a4fa7;
$custom-light: #7c80c2;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4fa7",
  "rgb": {
    "r": 58,
    "g": 79,
    "b": 167
  },
  "hsl": {
    "h": 228.44,
    "s": 48.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.46061,
    "c": 0.14329,
    "h": 269.9
  },
  "luminance": 0.09282
}

Semantic roles & 50–950 ramp

primary
#3A4FA7
secondary
#BFB37E
accent
#BE50D8
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #3A4FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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