#3A4E80#3A4E80

#3A4E80 is a dark, moderate blue. Relative luminance 0.079; OKLCH L 43.2% C 0.087 H 266.3°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#3A4E80
RGBrgb(58, 78, 128)
HSLhsl(223, 38%, 36%)
HSVhsv(223, 55%, 50%)
CMYKcmyk(54.7%, 39.1%, 0%, 49.8%)
CIE-LABlab(33.79, 7.80, -30.63)
CIE-LCHlch(33.79, 31.61, 284.29°)
OKLaboklab(43.19% -0.0055 -0.0866)
OKLCHoklch(43.19% 0.087 266.3)
XYZxyz(8.3643, 7.9062, 21.5032)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4E80 #806C3A
analogous
#3A7180 #3A4E80 #493A80
triadic
#3A4E80 #803A4E #4E803A
tetradic
#3A4E80 #803A71 #806C3A #3A8049
square
#3A4E80 #803A71 #806C3A #3A8049
split-complementary
#3A4E80 #80493A #71803A
monochromatic
#141B2C #273456 #3A4E80 #4D68AA #748AC0

Accessibility & contrast

On white

8.14
#3A4E80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#3A4E80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4E80
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4E80#FFFFFF#000000##FFFFFF
##3A4E801.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5382
Deuteranopia (green-blind)
#324D7F
Tritanopia (blue-blind)
#175961
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3a4e80;
/* rgb */ color: rgb(58, 78, 128);
/* oklch */ color: oklch(43.2% 0.087 266.3);
Tailwind
colors: {
  custom: {
    50: '#757fa5',
    500: '#3a4e80',
    950: '#000000',
  },
}
SCSS
$custom: #3a4e80;
$custom-light: #757fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4e80",
  "rgb": {
    "r": 58,
    "g": 78,
    "b": 128
  },
  "hsl": {
    "h": 222.857,
    "s": 37.634,
    "l": 36.471
  },
  "oklch": {
    "l": 0.43185,
    "c": 0.08681,
    "h": 266.3
  },
  "luminance": 0.07907
}

Semantic roles & 50–950 ramp

primary
#3A4E80
secondary
#A9986C
accent
#AD5ACE
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#090A0F
muted
#7B7C7F

Preview Lab

Preview with #3A4E80

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

Preview Lab → · Contrast checker → · Palette generator →

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