#3A4E89#3A4E89

#3A4E89 is a dark, moderate blue. Relative luminance 0.082; OKLCH L 43.7% C 0.101 H 268.0°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#3A4E89
RGBrgb(58, 78, 137)
HSLhsl(225, 41%, 38%)
HSVhsv(225, 58%, 54%)
CMYKcmyk(57.7%, 43.1%, 0%, 46.3%)
CIE-LABlab(34.30, 10.94, -35.35)
CIE-LCHlch(34.30, 37.01, 287.19°)
OKLaboklab(43.75% -0.0035 -0.1004)
OKLCHoklch(43.75% 0.101 268)
XYZxyz(8.9832, 8.1538, 24.7625)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4E89 #89753A
analogous
#3A7589 #3A4E89 #4D3A89
triadic
#3A4E89 #893A4E #4E893A
tetradic
#3A4E89 #893A75 #89753A #3A894D
square
#3A4E89 #893A75 #89753A #3A894D
split-complementary
#3A4E89 #894D3A #75893A
monochromatic
#161D33 #28365E #3A4E89 #4D67B4 #788BC6

Accessibility & contrast

On white

7.98
#3A4E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#3A4E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4E89
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4E89#FFFFFF#000000##FFFFFF
##3A4E891.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35548B
Deuteranopia (green-blind)
#2B4D88
Tritanopia (blue-blind)
#085B65
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3a4e89;
/* rgb */ color: rgb(58, 78, 137);
/* oklch */ color: oklch(43.7% 0.101 268.0);
Tailwind
colors: {
  custom: {
    50: '#777fac',
    500: '#3a4e89',
    950: '#000000',
  },
}
SCSS
$custom: #3a4e89;
$custom-light: #777fac;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4e89",
  "rgb": {
    "r": 58,
    "g": 78,
    "b": 137
  },
  "hsl": {
    "h": 224.81,
    "s": 40.513,
    "l": 38.235
  },
  "oklch": {
    "l": 0.43749,
    "c": 0.1005,
    "h": 268
  },
  "luminance": 0.08154
}

Semantic roles & 50–950 ramp

primary
#3A4E89
secondary
#AF9F70
accent
#B257D0
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #3A4E89

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

Preview Lab → · Contrast checker → · Palette generator →

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