#3A4E82#3A4E82

#3A4E82 is a dark, moderate blue. Relative luminance 0.080; OKLCH L 43.3% C 0.090 H 266.8°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#3A4E82
RGBrgb(58, 78, 130)
HSLhsl(223, 38%, 37%)
HSVhsv(223, 55%, 51%)
CMYKcmyk(55.4%, 40%, 0%, 49%)
CIE-LABlab(33.90, 8.49, -31.69)
CIE-LCHlch(33.90, 32.81, 285.00°)
OKLaboklab(43.31% -0.005 -0.0897)
OKLCHoklch(43.31% 0.09 266.8)
XYZxyz(8.4972, 7.9594, 22.2033)
Luminance0.0796 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4E82 #826E3A
analogous
#3A7282 #3A4E82 #4A3A82
triadic
#3A4E82 #823A4E #4E823A
tetradic
#3A4E82 #823A72 #826E3A #3A824A
square
#3A4E82 #823A72 #826E3A #3A824A
split-complementary
#3A4E82 #824A3A #72823A
monochromatic
#141B2D #273558 #3A4E82 #4D67AC #758AC1

Accessibility & contrast

On white

8.10
#3A4E82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#3A4E82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4E82
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4E82#FFFFFF#000000##FFFFFF
##3A4E821.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395384
Deuteranopia (green-blind)
#314D81
Tritanopia (blue-blind)
#155961
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3a4e82;
/* rgb */ color: rgb(58, 78, 130);
/* oklch */ color: oklch(43.3% 0.090 266.8);
Tailwind
colors: {
  custom: {
    50: '#767fa6',
    500: '#3a4e82',
    950: '#000000',
  },
}
SCSS
$custom: #3a4e82;
$custom-light: #767fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4e82",
  "rgb": {
    "r": 58,
    "g": 78,
    "b": 130
  },
  "hsl": {
    "h": 223.333,
    "s": 38.298,
    "l": 36.863
  },
  "oklch": {
    "l": 0.43307,
    "c": 0.08986,
    "h": 266.8
  },
  "luminance": 0.0796
}

Semantic roles & 50–950 ramp

primary
#3A4E82
secondary
#AB9A6D
accent
#AE5ACE
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#090A0F
muted
#7B7C7F

Preview Lab

Preview with #3A4E82

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

Preview Lab → · Contrast checker → · Palette generator →

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