#3A4E7D#3A4E7D

#3A4E7D is a dark, moderate blue. Relative luminance 0.078; OKLCH L 43.0% C 0.082 H 265.6°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#3A4E7D
RGBrgb(58, 78, 125)
HSLhsl(222, 37%, 36%)
HSVhsv(222, 54%, 49%)
CMYKcmyk(53.6%, 37.6%, 0%, 51%)
CIE-LABlab(33.62, 6.77, -29.03)
CIE-LCHlch(33.62, 29.81, 283.13°)
OKLaboklab(43.01% -0.0063 -0.082)
OKLCHoklch(43.01% 0.082 265.6)
XYZxyz(8.1698, 7.8284, 20.4786)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4E7D #7D693A
analogous
#3A6F7D #3A4E7D #473A7D
triadic
#3A4E7D #7D3A4E #4E7D3A
tetradic
#3A4E7D #7D3A6F #7D693A #3A7D47
square
#3A4E7D #7D3A6F #7D693A #3A7D47
split-complementary
#3A4E7D #7D473A #6F7D3A
monochromatic
#131A29 #273453 #3A4E7D #4D68A7 #738ABE

Accessibility & contrast

On white

8.18
#3A4E7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A4E7D
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4E7D#FFFFFF#000000##FFFFFF
##3A4E7D1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C527F
Deuteranopia (green-blind)
#344C7C
Tritanopia (blue-blind)
#1A585F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3a4e7d;
/* rgb */ color: rgb(58, 78, 125);
/* oklch */ color: oklch(43.0% 0.082 265.6);
Tailwind
colors: {
  custom: {
    50: '#757fa3',
    500: '#3a4e7d',
    950: '#000000',
  },
}
SCSS
$custom: #3a4e7d;
$custom-light: #757fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4e7d",
  "rgb": {
    "r": 58,
    "g": 78,
    "b": 125
  },
  "hsl": {
    "h": 222.09,
    "s": 36.612,
    "l": 35.882
  },
  "oklch": {
    "l": 0.43005,
    "c": 0.08221,
    "h": 265.6
  },
  "luminance": 0.07829
}

Semantic roles & 50–950 ramp

primary
#3A4E7D
secondary
#A8966B
accent
#AB5BCD
background
#F7F7FA
surface
#EDEEF3
border
#C8C9CD
text
#090A0F
muted
#7B7C7F

Preview Lab

Preview with #3A4E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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