#3A4DAD#3A4DAD

#3A4DAD is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.1% C 0.154 H 270.7°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#3A4DAD
RGBrgb(58, 77, 173)
HSLhsl(230, 50%, 45%)
HSVhsv(230, 66%, 68%)
CMYKcmyk(66.5%, 55.5%, 0%, 32.2%)
CIE-LABlab(36.41, 24.50, -53.68)
CIE-LCHlch(36.41, 59.01, 294.53°)
OKLaboklab(46.12% 0.0019 -0.1543)
OKLCHoklch(46.12% 0.154 270.7)
XYZxyz(11.9391, 9.2233, 40.6782)
Luminance0.0922 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4DAD #AD9A3A
analogous
#3A86AD #3A4DAD #603AAD
triadic
#3A4DAD #AD3A4D #4DAD3A
tetradic
#3A4DAD #AD3A86 #AD9A3A #3AAD60
square
#3A4DAD #AD3A86 #AD9A3A #3AAD60
split-complementary
#3A4DAD #AD603A #86AD3A
monochromatic
#1B2451 #2B397F #3A4DAD #5C6EC8 #8A97D8

Accessibility & contrast

On white

7.38
#3A4DAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A4DAD
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4DAD#FFFFFF#000000##FFFFFF
##3A4DAD1.007.382.847.38
#FFFFFF7.381.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB0
Deuteranopia (green-blind)
#0051AB
Tritanopia (blue-blind)
#006475
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3a4dad;
/* rgb */ color: rgb(58, 77, 173);
/* oklch */ color: oklch(46.1% 0.154 270.7);
Tailwind
colors: {
  custom: {
    50: '#7d7ec6',
    500: '#3a4dad',
    950: '#000000',
  },
}
SCSS
$custom: #3a4dad;
$custom-light: #7d7ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4dad",
  "rgb": {
    "r": 58,
    "g": 77,
    "b": 173
  },
  "hsl": {
    "h": 230.087,
    "s": 49.784,
    "l": 45.294
  },
  "oklch": {
    "l": 0.46116,
    "c": 0.15435,
    "h": 270.7
  },
  "luminance": 0.09224
}

Semantic roles & 50–950 ramp

primary
#3A4DAD
secondary
#C2B781
accent
#C24ED9
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3A4DAD

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

Preview Lab → · Contrast checker → · Palette generator →

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