#3A507B#3A507B

#3A507B is a dark, moderate blue. Relative luminance 0.081; OKLCH L 43.4% C 0.077 H 262.9°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#3A507B
RGBrgb(58, 80, 123)
HSLhsl(220, 36%, 35%)
HSVhsv(220, 53%, 48%)
CMYKcmyk(52.8%, 35%, 0%, 51.8%)
CIE-LABlab(34.12, 4.78, -27.01)
CIE-LCHlch(34.12, 27.43, 280.04°)
OKLaboklab(43.36% -0.0094 -0.0761)
OKLCHoklch(43.36% 0.077 262.9)
XYZxyz(8.1875, 8.0664, 19.8606)
Luminance0.0807 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A507B #7B653A
analogous
#3A707B #3A507B #443A7B
triadic
#3A507B #7B3A50 #507B3A
tetradic
#3A507B #7B3A70 #7B653A #3A7B44
square
#3A507B #7B3A70 #7B653A #3A7B44
split-complementary
#3A507B #7B443A #707B3A
monochromatic
#131A28 #263551 #3A507B #4E6BA5 #738CBD

Accessibility & contrast

On white

8.04
#3A507B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#3A507B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A507B
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A507B#FFFFFF#000000##FFFFFF
##3A507B1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F537D
Deuteranopia (green-blind)
#384D7A
Tritanopia (blue-blind)
#1C5960
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3a507b;
/* rgb */ color: rgb(58, 80, 123);
/* oklch */ color: oklch(43.4% 0.077 262.9);
Tailwind
colors: {
  custom: {
    50: '#7580a1',
    500: '#3a507b',
    950: '#000000',
  },
}
SCSS
$custom: #3a507b;
$custom-light: #7580a1;
$custom-dark: #000000;
JSON
{
  "hex": "#3a507b",
  "rgb": {
    "r": 58,
    "g": 80,
    "b": 123
  },
  "hsl": {
    "h": 219.692,
    "s": 35.912,
    "l": 35.49
  },
  "oklch": {
    "l": 0.43356,
    "c": 0.07665,
    "h": 262.9
  },
  "luminance": 0.08067
}

Semantic roles & 50–950 ramp

primary
#3A507B
secondary
#A6926B
accent
#A65CCC
background
#F7F7F9
surface
#EDEEF2
border
#C8C9CC
text
#080A0F
muted
#7B7C7E

Preview Lab

Preview with #3A507B

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

Preview Lab → · Contrast checker → · Palette generator →

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