#3A4E86#3A4E86

#3A4E86 is a dark, moderate blue. Relative luminance 0.081; OKLCH L 43.6% C 0.096 H 267.5°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#3A4E86
RGBrgb(58, 78, 134)
HSLhsl(224, 40%, 38%)
HSVhsv(224, 57%, 53%)
CMYKcmyk(56.7%, 41.8%, 0%, 47.5%)
CIE-LABlab(34.13, 9.89, -33.79)
CIE-LCHlch(34.13, 35.21, 286.31°)
OKLaboklab(43.56% -0.0041 -0.0959)
OKLCHoklch(43.56% 0.096 267.5)
XYZxyz(8.7710, 8.0689, 23.6449)
Luminance0.0807 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4E86 #86723A
analogous
#3A7486 #3A4E86 #4C3A86
triadic
#3A4E86 #863A4E #4E863A
tetradic
#3A4E86 #863A74 #86723A #3A864C
square
#3A4E86 #863A74 #86723A #3A864C
split-complementary
#3A4E86 #864C3A #74863A
monochromatic
#151C31 #28355B #3A4E86 #4C67B1 #768BC4

Accessibility & contrast

On white

8.03
#3A4E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#3A4E86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4E86
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4E86#FFFFFF#000000##FFFFFF
##3A4E861.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375488
Deuteranopia (green-blind)
#2D4D85
Tritanopia (blue-blind)
#0F5A63
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3a4e86;
/* rgb */ color: rgb(58, 78, 134);
/* oklch */ color: oklch(43.6% 0.096 267.5);
Tailwind
colors: {
  custom: {
    50: '#767fa9',
    500: '#3a4e86',
    950: '#000000',
  },
}
SCSS
$custom: #3a4e86;
$custom-light: #767fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4e86",
  "rgb": {
    "r": 58,
    "g": 78,
    "b": 134
  },
  "hsl": {
    "h": 224.211,
    "s": 39.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.43557,
    "c": 0.09596,
    "h": 267.5
  },
  "luminance": 0.0807
}

Semantic roles & 50–950 ramp

primary
#3A4E86
secondary
#AD9D6F
accent
#B058CF
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #3A4E86

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

Preview Lab → · Contrast checker → · Palette generator →

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