#3A4E90#3A4E90

#3A4E90 is a dark, moderate blue. Relative luminance 0.084; OKLCH L 44.2% C 0.111 H 268.9°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#3A4E90
RGBrgb(58, 78, 144)
HSLhsl(226, 43%, 40%)
HSVhsv(226, 60%, 56%)
CMYKcmyk(59.7%, 45.8%, 0%, 43.5%)
CIE-LABlab(34.72, 13.42, -38.96)
CIE-LCHlch(34.72, 41.20, 289.00°)
OKLaboklab(44.21% -0.0022 -0.111)
OKLCHoklch(44.21% 0.111 268.9)
XYZxyz(9.5017, 8.3612, 27.4933)
Luminance0.0836 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4E90 #907C3A
analogous
#3A7990 #3A4E90 #513A90
triadic
#3A4E90 #903A4E #4E903A
tetradic
#3A4E90 #903A79 #907C3A #3A9051
square
#3A4E90 #903A79 #907C3A #3A9051
split-complementary
#3A4E90 #90513A #79903A
monochromatic
#171F39 #283664 #3A4E90 #4F67B8 #7B8DCA

Accessibility & contrast

On white

7.86
#3A4E90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#3A4E90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4E90
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4E90#FFFFFF#000000##FFFFFF
##3A4E901.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305692
Deuteranopia (green-blind)
#244E8F
Tritanopia (blue-blind)
#005D68
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3a4e90;
/* rgb */ color: rgb(58, 78, 144);
/* oklch */ color: oklch(44.2% 0.111 268.9);
Tailwind
colors: {
  custom: {
    50: '#787fb1',
    500: '#3a4e90',
    950: '#000000',
  },
}
SCSS
$custom: #3a4e90;
$custom-light: #787fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4e90",
  "rgb": {
    "r": 58,
    "g": 78,
    "b": 144
  },
  "hsl": {
    "h": 226.047,
    "s": 42.574,
    "l": 39.608
  },
  "oklch": {
    "l": 0.4421,
    "c": 0.11103,
    "h": 268.9
  },
  "luminance": 0.08362
}

Semantic roles & 50–950 ramp

primary
#3A4E90
secondary
#B3A473
accent
#B555D2
background
#F7F7FA
surface
#EEEEF5
border
#C9C9CF
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #3A4E90

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

Preview Lab → · Contrast checker → · Palette generator →

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