#3A4E99#3A4E99

#3A4E99 is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.8% C 0.124 H 269.6°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#3A4E99
RGBrgb(58, 78, 153)
HSLhsl(227, 45%, 41%)
HSVhsv(227, 62%, 60%)
CMYKcmyk(62.1%, 49%, 0%, 40%)
CIE-LABlab(35.30, 16.63, -43.50)
CIE-LCHlch(35.30, 46.57, 290.93°)
OKLaboklab(44.83% -0.0009 -0.1244)
OKLCHoklch(44.83% 0.124 269.6)
XYZxyz(10.2171, 8.6474, 31.2615)
Luminance0.0865 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4E99 #99853A
analogous
#3A7E99 #3A4E99 #563A99
triadic
#3A4E99 #993A4E #4E993A
tetradic
#3A4E99 #993A7E #99853A #3A9956
square
#3A4E99 #993A7E #99853A #3A9956
split-complementary
#3A4E99 #99563A #7E993A
monochromatic
#182140 #29376D #3A4E99 #5369BE #7F90CE

Accessibility & contrast

On white

7.69
#3A4E99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#3A4E99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4E99
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4E99#FFFFFF#000000##FFFFFF
##3A4E991.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28579C
Deuteranopia (green-blind)
#174F97
Tritanopia (blue-blind)
#005F6C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3a4e99;
/* rgb */ color: rgb(58, 78, 153);
/* oklch */ color: oklch(44.8% 0.124 269.6);
Tailwind
colors: {
  custom: {
    50: '#797fb7',
    500: '#3a4e99',
    950: '#000000',
  },
}
SCSS
$custom: #3a4e99;
$custom-light: #797fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4e99",
  "rgb": {
    "r": 58,
    "g": 78,
    "b": 153
  },
  "hsl": {
    "h": 227.368,
    "s": 45.024,
    "l": 41.373
  },
  "oklch": {
    "l": 0.44832,
    "c": 0.12437,
    "h": 269.6
  },
  "luminance": 0.08648
}

Semantic roles & 50–950 ramp

primary
#3A4E99
secondary
#B8AA77
accent
#B953D5
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A11
muted
#7C7C80

Preview Lab

Preview with #3A4E99

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

Preview Lab → · Contrast checker → · Palette generator →

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