#3A5995#3A5995

#3A5995 is a mid, moderate blue. Relative luminance 0.102; OKLCH L 47.0% C 0.104 H 262.4°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#3A5995
RGBrgb(58, 89, 149)
HSLhsl(220, 44%, 41%)
HSVhsv(220, 61%, 58%)
CMYKcmyk(61.1%, 40.3%, 0%, 41.6%)
CIE-LABlab(38.22, 8.01, -36.41)
CIE-LCHlch(38.22, 37.28, 282.41°)
OKLaboklab(47% -0.0137 -0.1034)
OKLCHoklch(47% 0.104 262.4)
XYZxyz(10.7402, 10.2133, 29.8333)
Luminance0.1021 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5995 #95763A
analogous
#3A8695 #3A5995 #483A95
triadic
#3A5995 #953A59 #59953A
tetradic
#3A5995 #953A86 #95763A #3A9548
square
#3A5995 #953A86 #95763A #3A9548
split-complementary
#3A5995 #95483A #86953A
monochromatic
#18243D #293F69 #3A5995 #5175BB #7D98CC

Accessibility & contrast

On white

6.90
#3A5995 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#3A5995 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5995
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5995#FFFFFF#000000##FFFFFF
##3A59951.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5F97
Deuteranopia (green-blind)
#335694
Tritanopia (blue-blind)
#006670
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3a5995;
/* rgb */ color: rgb(58, 89, 149);
/* oklch */ color: oklch(47.0% 0.104 262.4);
Tailwind
colors: {
  custom: {
    50: '#7887b4',
    500: '#3a5995',
    950: '#000000',
  },
}
SCSS
$custom: #3a5995;
$custom-light: #7887b4;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5995",
  "rgb": {
    "r": 58,
    "g": 89,
    "b": 149
  },
  "hsl": {
    "h": 219.56,
    "s": 43.961,
    "l": 40.588
  },
  "oklch": {
    "l": 0.46999,
    "c": 0.10434,
    "h": 262.4
  },
  "luminance": 0.10214
}

Semantic roles & 50–950 ramp

primary
#3A5995
secondary
#B6A075
accent
#A854D4
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #3A5995

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

Preview Lab → · Contrast checker → · Palette generator →

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