#3A507A#3A507A

#3A507A is a dark, moderate blue. Relative luminance 0.080; OKLCH L 43.3% C 0.075 H 262.6°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#3A507A
RGBrgb(58, 80, 122)
HSLhsl(219, 36%, 35%)
HSVhsv(219, 52%, 48%)
CMYKcmyk(52.5%, 34.4%, 0%, 52.2%)
CIE-LABlab(34.07, 4.45, -26.47)
CIE-LCHlch(34.07, 26.84, 279.53°)
OKLaboklab(43.3% -0.0097 -0.0745)
OKLCHoklch(43.3% 0.075 262.6)
XYZxyz(8.1253, 8.0414, 19.5326)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A507A #7A643A
analogous
#3A707A #3A507A #443A7A
triadic
#3A507A #7A3A50 #507A3A
tetradic
#3A507A #7A3A70 #7A643A #3A7A44
square
#3A507A #7A3A70 #7A643A #3A7A44
split-complementary
#3A507A #7A443A #707A3A
monochromatic
#131A27 #263551 #3A507A #4E6BA3 #728CBC

Accessibility & contrast

On white

8.05
#3A507A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A507A
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A507A#FFFFFF#000000##FFFFFF
##3A507A1.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40537C
Deuteranopia (green-blind)
#384D79
Tritanopia (blue-blind)
#1D595F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3a507a;
/* rgb */ color: rgb(58, 80, 122);
/* oklch */ color: oklch(43.3% 0.075 262.6);
Tailwind
colors: {
  custom: {
    50: '#7480a0',
    500: '#3a507a',
    950: '#000000',
  },
}
SCSS
$custom: #3a507a;
$custom-light: #7480a0;
$custom-dark: #000000;
JSON
{
  "hex": "#3a507a",
  "rgb": {
    "r": 58,
    "g": 80,
    "b": 122
  },
  "hsl": {
    "h": 219.375,
    "s": 35.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.43299,
    "c": 0.07513,
    "h": 262.6
  },
  "luminance": 0.08042
}

Semantic roles & 50–950 ramp

primary
#3A507A
secondary
#A6916A
accent
#A55CCC
background
#F7F7F9
surface
#EDEEF2
border
#C8C9CC
text
#080A0F
muted
#7B7C7E

Preview Lab

Preview with #3A507A

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

Preview Lab → · Contrast checker → · Palette generator →

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