#3A4E7E#3A4E7E

#3A4E7E is a dark, moderate blue. Relative luminance 0.079; OKLCH L 43.1% C 0.084 H 265.9°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#3A4E7E
RGBrgb(58, 78, 126)
HSLhsl(222, 37%, 36%)
HSVhsv(222, 54%, 49%)
CMYKcmyk(54%, 38.1%, 0%, 50.6%)
CIE-LABlab(33.68, 7.11, -29.57)
CIE-LCHlch(33.68, 30.41, 283.53°)
OKLaboklab(43.06% -0.006 -0.0835)
OKLCHoklch(43.06% 0.084 265.9)
XYZxyz(8.2340, 7.8541, 20.8167)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4E7E #7E6A3A
analogous
#3A707E #3A4E7E #483A7E
triadic
#3A4E7E #7E3A4E #4E7E3A
tetradic
#3A4E7E #7E3A70 #7E6A3A #3A7E48
square
#3A4E7E #7E3A70 #7E6A3A #3A7E48
split-complementary
#3A4E7E #7E483A #707E3A
monochromatic
#131A2A #273454 #3A4E7E #4D68A8 #748ABF

Accessibility & contrast

On white

8.17
#3A4E7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#3A4E7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4E7E
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4E7E#FFFFFF#000000##FFFFFF
##3A4E7E1.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5380
Deuteranopia (green-blind)
#334C7D
Tritanopia (blue-blind)
#195860
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3a4e7e;
/* rgb */ color: rgb(58, 78, 126);
/* oklch */ color: oklch(43.1% 0.084 265.9);
Tailwind
colors: {
  custom: {
    50: '#757fa3',
    500: '#3a4e7e',
    950: '#000000',
  },
}
SCSS
$custom: #3a4e7e;
$custom-light: #757fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4e7e",
  "rgb": {
    "r": 58,
    "g": 78,
    "b": 126
  },
  "hsl": {
    "h": 222.353,
    "s": 36.957,
    "l": 36.078
  },
  "oklch": {
    "l": 0.43064,
    "c": 0.08374,
    "h": 265.9
  },
  "luminance": 0.07855
}

Semantic roles & 50–950 ramp

primary
#3A4E7E
secondary
#A8966C
accent
#AB5BCD
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#090A0F
muted
#7B7C7F

Preview Lab

Preview with #3A4E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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