#3A4E70#3A4E70

#3A4E70 is a dark, moderate blue. Relative luminance 0.075; OKLCH L 42.3% C 0.062 H 260.7°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#3A4E70
RGBrgb(58, 78, 112)
HSLhsl(218, 32%, 33%)
HSVhsv(218, 48%, 44%)
CMYKcmyk(48.2%, 30.4%, 0%, 56.1%)
CIE-LABlab(32.96, 2.41, -21.98)
CIE-LCHlch(32.96, 22.11, 276.26°)
OKLaboklab(42.27% -0.0101 -0.0615)
OKLCHoklch(42.27% 0.062 260.7)
XYZxyz(7.3930, 7.5177, 16.3876)
Luminance0.0752 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4E70 #705C3A
analogous
#3A6970 #3A4E70 #413A70
triadic
#3A4E70 #703A4E #4E703A
tetradic
#3A4E70 #703A69 #705C3A #3A7041
square
#3A4E70 #703A69 #705C3A #3A7041
split-complementary
#3A4E70 #70413A #69703A
monochromatic
#10161F #253248 #3A4E70 #4F6A98 #7089B5

Accessibility & contrast

On white

8.39
#3A4E70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#3A4E70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4E70
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4E70#FFFFFF#000000##FFFFFF
##3A4E701.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415071
Deuteranopia (green-blind)
#3B4B6F
Tritanopia (blue-blind)
#25555A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3a4e70;
/* rgb */ color: rgb(58, 78, 112);
/* oklch */ color: oklch(42.3% 0.062 260.7);
Tailwind
colors: {
  custom: {
    50: '#737f99',
    500: '#3a4e70',
    950: '#000000',
  },
}
SCSS
$custom: #3a4e70;
$custom-light: #737f99;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4e70",
  "rgb": {
    "r": 58,
    "g": 78,
    "b": 112
  },
  "hsl": {
    "h": 217.778,
    "s": 31.765,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42269,
    "c": 0.06232,
    "h": 260.7
  },
  "luminance": 0.07518
}

Semantic roles & 50–950 ramp

primary
#3A4E70
secondary
#9E8A67
accent
#A160C8
background
#F7F7F9
surface
#EDEEF2
border
#C8C9CC
text
#080A0E
muted
#7B7C7E

Preview Lab

Preview with #3A4E70

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

Preview Lab → · Contrast checker → · Palette generator →

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