#3A4E85#3A4E85

#3A4E85 is a dark, moderate blue. Relative luminance 0.080; OKLCH L 43.5% C 0.094 H 267.3°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#3A4E85
RGBrgb(58, 78, 133)
HSLhsl(224, 39%, 37%)
HSVhsv(224, 56%, 52%)
CMYKcmyk(56.4%, 41.4%, 0%, 47.8%)
CIE-LABlab(34.07, 9.54, -33.27)
CIE-LCHlch(34.07, 34.61, 286.00°)
OKLaboklab(43.49% -0.0044 -0.0943)
OKLCHoklch(43.49% 0.094 267.3)
XYZxyz(8.7015, 8.0411, 23.2793)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4E85 #85713A
analogous
#3A7485 #3A4E85 #4C3A85
triadic
#3A4E85 #853A4E #4E853A
tetradic
#3A4E85 #853A74 #85713A #3A854C
square
#3A4E85 #853A74 #85713A #3A854C
split-complementary
#3A4E85 #854C3A #74853A
monochromatic
#151C30 #27355A #3A4E85 #4D67B0 #768BC3

Accessibility & contrast

On white

8.05
#3A4E85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A4E85
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4E85#FFFFFF#000000##FFFFFF
##3A4E851.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375487
Deuteranopia (green-blind)
#2E4D84
Tritanopia (blue-blind)
#105A63
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3a4e85;
/* rgb */ color: rgb(58, 78, 133);
/* oklch */ color: oklch(43.5% 0.094 267.3);
Tailwind
colors: {
  custom: {
    50: '#767fa9',
    500: '#3a4e85',
    950: '#000000',
  },
}
SCSS
$custom: #3a4e85;
$custom-light: #767fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4e85",
  "rgb": {
    "r": 58,
    "g": 78,
    "b": 133
  },
  "hsl": {
    "h": 224,
    "s": 39.267,
    "l": 37.451
  },
  "oklch": {
    "l": 0.43494,
    "c": 0.09443,
    "h": 267.3
  },
  "luminance": 0.08042
}

Semantic roles & 50–950 ramp

primary
#3A4E85
secondary
#AD9C6E
accent
#B059CF
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #3A4E85

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

Preview Lab → · Contrast checker → · Palette generator →

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