#3A4D99#3A4D99

#3A4D99 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.6% C 0.126 H 270.1°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#3A4D99
RGBrgb(58, 77, 153)
HSLhsl(228, 45%, 41%)
HSVhsv(228, 62%, 60%)
CMYKcmyk(62.1%, 49.7%, 0%, 40%)
CIE-LABlab(35.02, 17.29, -43.95)
CIE-LCHlch(35.02, 47.23, 291.48°)
OKLaboklab(44.62% 0.0002 -0.1257)
OKLCHoklch(44.62% 0.126 270.1)
XYZxyz(10.1466, 8.5064, 31.2380)
Luminance0.0851 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4D99 #99863A
analogous
#3A7D99 #3A4D99 #573A99
triadic
#3A4D99 #993A4D #4D993A
tetradic
#3A4D99 #993A7D #99863A #3A9957
square
#3A4D99 #993A7D #99863A #3A9957
split-complementary
#3A4D99 #99573A #7D993A
monochromatic
#182040 #29376D #3A4D99 #5368BE #7F8FCE

Accessibility & contrast

On white

7.77
#3A4D99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#3A4D99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4D99
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4D99#FFFFFF#000000##FFFFFF
##3A4D991.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26579C
Deuteranopia (green-blind)
#144E97
Tritanopia (blue-blind)
#005E6B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3a4d99;
/* rgb */ color: rgb(58, 77, 153);
/* oklch */ color: oklch(44.6% 0.126 270.1);
Tailwind
colors: {
  custom: {
    50: '#797eb7',
    500: '#3a4d99',
    950: '#000000',
  },
}
SCSS
$custom: #3a4d99;
$custom-light: #797eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4d99",
  "rgb": {
    "r": 58,
    "g": 77,
    "b": 153
  },
  "hsl": {
    "h": 228,
    "s": 45.024,
    "l": 41.373
  },
  "oklch": {
    "l": 0.44618,
    "c": 0.1257,
    "h": 270.1
  },
  "luminance": 0.08507
}

Semantic roles & 50–950 ramp

primary
#3A4D99
secondary
#B8AB77
accent
#BB53D5
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0911
muted
#7C7B80

Preview Lab

Preview with #3A4D99

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

Preview Lab → · Contrast checker → · Palette generator →

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