#3A5997#3A5997

#3A5997 is a mid, moderate blue. Relative luminance 0.103; OKLCH L 47.1% C 0.107 H 262.9°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#3A5997
RGBrgb(58, 89, 151)
HSLhsl(220, 44%, 41%)
HSVhsv(220, 62%, 59%)
CMYKcmyk(61.6%, 41.1%, 0%, 40.8%)
CIE-LABlab(38.34, 8.72, -37.44)
CIE-LCHlch(38.34, 38.44, 283.12°)
OKLaboklab(47.12% -0.0133 -0.1064)
OKLCHoklch(47.12% 0.107 262.9)
XYZxyz(10.9013, 10.2777, 30.6815)
Luminance0.1028 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5997 #97783A
analogous
#3A8797 #3A5997 #493A97
triadic
#3A5997 #973A59 #59973A
tetradic
#3A5997 #973A87 #97783A #3A9749
square
#3A5997 #973A87 #97783A #3A9749
split-complementary
#3A5997 #97493A #87973A
monochromatic
#18253F #293F6B #3A5997 #5275BC #7E98CD

Accessibility & contrast

On white

6.87
#3A5997 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#3A5997 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5997
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5997#FFFFFF#000000##FFFFFF
##3A59971.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5F99
Deuteranopia (green-blind)
#315696
Tritanopia (blue-blind)
#006770
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3a5997;
/* rgb */ color: rgb(58, 89, 151);
/* oklch */ color: oklch(47.1% 0.107 262.9);
Tailwind
colors: {
  custom: {
    50: '#7987b6',
    500: '#3a5997',
    950: '#000000',
  },
}
SCSS
$custom: #3a5997;
$custom-light: #7987b6;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5997",
  "rgb": {
    "r": 58,
    "g": 89,
    "b": 151
  },
  "hsl": {
    "h": 220,
    "s": 44.498,
    "l": 40.98
  },
  "oklch": {
    "l": 0.47124,
    "c": 0.10725,
    "h": 262.9
  },
  "luminance": 0.10279
}

Semantic roles & 50–950 ramp

primary
#3A5997
secondary
#B7A176
accent
#A954D4
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#0A0B11
muted
#7C7C80

Preview Lab

Preview with #3A5997

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

Preview Lab → · Contrast checker → · Palette generator →

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