#3A4E92#3A4E92

#3A4E92 is a dark, moderate blue. Relative luminance 0.084; OKLCH L 44.3% C 0.114 H 269.1°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#3A4E92
RGBrgb(58, 78, 146)
HSLhsl(226, 43%, 40%)
HSVhsv(226, 60%, 57%)
CMYKcmyk(60.3%, 46.6%, 0%, 42.7%)
CIE-LABlab(34.85, 14.13, -39.97)
CIE-LCHlch(34.85, 42.40, 289.47°)
OKLaboklab(44.35% -0.0019 -0.114)
OKLCHoklch(44.35% 0.114 269.1)
XYZxyz(9.6559, 8.4229, 28.3055)
Luminance0.0842 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4E92 #927E3A
analogous
#3A7A92 #3A4E92 #523A92
triadic
#3A4E92 #923A4E #4E923A
tetradic
#3A4E92 #923A7A #927E3A #3A9252
square
#3A4E92 #923A7A #927E3A #3A9252
split-complementary
#3A4E92 #92523A #7A923A
monochromatic
#171F3A #293766 #3A4E92 #5068B9 #7C8ECB

Accessibility & contrast

On white

7.82
#3A4E92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#3A4E92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4E92
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4E92#FFFFFF#000000##FFFFFF
##3A4E921.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5695
Deuteranopia (green-blind)
#214E91
Tritanopia (blue-blind)
#005D69
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3a4e92;
/* rgb */ color: rgb(58, 78, 146);
/* oklch */ color: oklch(44.3% 0.114 269.1);
Tailwind
colors: {
  custom: {
    50: '#787fb2',
    500: '#3a4e92',
    950: '#000000',
  },
}
SCSS
$custom: #3a4e92;
$custom-light: #787fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4e92",
  "rgb": {
    "r": 58,
    "g": 78,
    "b": 146
  },
  "hsl": {
    "h": 226.364,
    "s": 43.137,
    "l": 40
  },
  "oklch": {
    "l": 0.44346,
    "c": 0.11402,
    "h": 269.1
  },
  "luminance": 0.08424
}

Semantic roles & 50–950 ramp

primary
#3A4E92
secondary
#B4A674
accent
#B655D3
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #3A4E92

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

Preview Lab → · Contrast checker → · Palette generator →

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