#3A4FAD#3A4FAD

#3A4FAD is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.5% C 0.152 H 270.0°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#3A4FAD
RGBrgb(58, 79, 173)
HSLhsl(229, 50%, 45%)
HSVhsv(229, 66%, 68%)
CMYKcmyk(66.5%, 54.3%, 0%, 32.2%)
CIE-LABlab(36.94, 23.19, -52.82)
CIE-LCHlch(36.94, 57.69, 293.71°)
OKLaboklab(46.52% 0.0001 -0.1518)
OKLCHoklch(46.52% 0.152 270)
XYZxyz(12.0812, 9.5075, 40.7255)
Luminance0.0951 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4FAD #AD983A
analogous
#3A89AD #3A4FAD #5E3AAD
triadic
#3A4FAD #AD3A4F #4FAD3A
tetradic
#3A4FAD #AD3A89 #AD983A #3AAD5E
square
#3A4FAD #AD3A89 #AD983A #3AAD5E
split-complementary
#3A4FAD #AD5E3A #89AD3A
monochromatic
#1B2551 #2B3A7F #3A4FAD #5C70C8 #8A98D8

Accessibility & contrast

On white

7.24
#3A4FAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#3A4FAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4FAD
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4FAD#FFFFFF#000000##FFFFFF
##3A4FAD1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A5CB0
Deuteranopia (green-blind)
#0052AB
Tritanopia (blue-blind)
#006576
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3a4fad;
/* rgb */ color: rgb(58, 79, 173);
/* oklch */ color: oklch(46.5% 0.152 270.0);
Tailwind
colors: {
  custom: {
    50: '#7d80c6',
    500: '#3a4fad',
    950: '#000000',
  },
}
SCSS
$custom: #3a4fad;
$custom-light: #7d80c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4fad",
  "rgb": {
    "r": 58,
    "g": 79,
    "b": 173
  },
  "hsl": {
    "h": 229.043,
    "s": 49.784,
    "l": 45.294
  },
  "oklch": {
    "l": 0.46517,
    "c": 0.15177,
    "h": 270
  },
  "luminance": 0.09509
}

Semantic roles & 50–950 ramp

primary
#3A4FAD
secondary
#C2B681
accent
#C04ED9
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3A4FAD

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

Preview Lab → · Contrast checker → · Palette generator →

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