#3A5597#3A5597

#3A5597 is a mid, moderate blue. Relative luminance 0.096; OKLCH L 46.2% C 0.112 H 265.5°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#3A5597
RGBrgb(58, 85, 151)
HSLhsl(223, 44%, 41%)
HSVhsv(223, 62%, 59%)
CMYKcmyk(61.6%, 43.7%, 0%, 40.8%)
CIE-LABlab(37.17, 11.32, -39.29)
CIE-LCHlch(37.17, 40.89, 286.07°)
OKLaboklab(46.23% -0.0088 -0.1119)
OKLCHoklch(46.23% 0.112 265.5)
XYZxyz(10.5774, 9.6300, 30.5735)
Luminance0.0963 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5597 #977C3A
analogous
#3A8397 #3A5597 #4D3A97
triadic
#3A5597 #973A55 #55973A
tetradic
#3A5597 #973A83 #977C3A #3A974D
square
#3A5597 #973A83 #977C3A #3A974D
split-complementary
#3A5597 #974D3A #83973A
monochromatic
#18233F #293C6B #3A5597 #5271BC #7E95CD

Accessibility & contrast

On white

7.18
#3A5597 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#3A5597 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A5597
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5597#FFFFFF#000000##FFFFFF
##3A55971.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375C9A
Deuteranopia (green-blind)
#2A5496
Tritanopia (blue-blind)
#00646E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3a5597;
/* rgb */ color: rgb(58, 85, 151);
/* oklch */ color: oklch(46.2% 0.112 265.5);
Tailwind
colors: {
  custom: {
    50: '#7984b6',
    500: '#3a5597',
    950: '#000000',
  },
}
SCSS
$custom: #3a5597;
$custom-light: #7984b6;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5597",
  "rgb": {
    "r": 58,
    "g": 85,
    "b": 151
  },
  "hsl": {
    "h": 222.581,
    "s": 44.498,
    "l": 40.98
  },
  "oklch": {
    "l": 0.46225,
    "c": 0.11227,
    "h": 265.5
  },
  "luminance": 0.09631
}

Semantic roles & 50–950 ramp

primary
#3A5597
secondary
#B7A476
accent
#AF54D4
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#0A0A11
muted
#7C7C80

Preview Lab

Preview with #3A5597

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

Preview Lab → · Contrast checker → · Palette generator →

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