#3A4E7C#3A4E7C

#3A4E7C is a dark, moderate blue. Relative luminance 0.078; OKLCH L 42.9% C 0.081 H 265.3°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#3A4E7C
RGBrgb(58, 78, 124)
HSLhsl(222, 36%, 36%)
HSVhsv(222, 53%, 49%)
CMYKcmyk(53.2%, 37.1%, 0%, 51.4%)
CIE-LABlab(33.57, 6.43, -28.50)
CIE-LCHlch(33.57, 29.21, 282.71°)
OKLaboklab(42.95% -0.0065 -0.0804)
OKLCHoklch(42.95% 0.081 265.3)
XYZxyz(8.1062, 7.8030, 20.1438)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4E7C #7C683A
analogous
#3A6F7C #3A4E7C #473A7C
triadic
#3A4E7C #7C3A4E #4E7C3A
tetradic
#3A4E7C #7C3A6F #7C683A #3A7C47
square
#3A4E7C #7C3A6F #7C683A #3A7C47
split-complementary
#3A4E7C #7C473A #6F7C3A
monochromatic
#131A29 #263452 #3A4E7C #4E68A6 #738ABD

Accessibility & contrast

On white

8.20
#3A4E7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#3A4E7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4E7C
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4E7C#FFFFFF#000000##FFFFFF
##3A4E7C1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C527E
Deuteranopia (green-blind)
#354C7B
Tritanopia (blue-blind)
#1B585F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3a4e7c;
/* rgb */ color: rgb(58, 78, 124);
/* oklch */ color: oklch(42.9% 0.081 265.3);
Tailwind
colors: {
  custom: {
    50: '#757fa2',
    500: '#3a4e7c',
    950: '#000000',
  },
}
SCSS
$custom: #3a4e7c;
$custom-light: #757fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4e7c",
  "rgb": {
    "r": 58,
    "g": 78,
    "b": 124
  },
  "hsl": {
    "h": 221.818,
    "s": 36.264,
    "l": 35.686
  },
  "oklch": {
    "l": 0.42945,
    "c": 0.08068,
    "h": 265.3
  },
  "luminance": 0.07804
}

Semantic roles & 50–950 ramp

primary
#3A4E7C
secondary
#A7956B
accent
#AA5CCC
background
#F7F7FA
surface
#EDEEF3
border
#C8C9CD
text
#090A0F
muted
#7B7C7F

Preview Lab

Preview with #3A4E7C

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

Preview Lab → · Contrast checker → · Palette generator →

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