#3A5D97#3A5D97

#3A5D97 is a mid, moderate blue. Relative luminance 0.110; OKLCH L 48.0% C 0.102 H 260.0°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#3A5D97
RGBrgb(58, 93, 151)
HSLhsl(217, 44%, 41%)
HSVhsv(217, 62%, 59%)
CMYKcmyk(61.6%, 38.4%, 0%, 40.8%)
CIE-LABlab(39.52, 6.15, -35.57)
CIE-LCHlch(39.52, 36.09, 279.82°)
OKLaboklab(48.04% -0.0178 -0.1009)
OKLCHoklch(48.04% 0.102 260)
XYZxyz(11.2432, 10.9616, 30.7955)
Luminance0.1096 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5D97 #97743A
analogous
#3A8B97 #3A5D97 #453A97
triadic
#3A5D97 #973A5D #5D973A
tetradic
#3A5D97 #973A8B #97743A #3A9745
square
#3A5D97 #973A8B #97743A #3A9745
split-complementary
#3A5D97 #97453A #8B973A
monochromatic
#18273F #29426B #3A5D97 #527ABC #7E9CCD

Accessibility & contrast

On white

6.58
#3A5D97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#3A5D97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5D97
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5D97#FFFFFF#000000##FFFFFF
##3A5D971.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446299
Deuteranopia (green-blind)
#385996
Tritanopia (blue-blind)
#006A73
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3a5d97;
/* rgb */ color: rgb(58, 93, 151);
/* oklch */ color: oklch(48.0% 0.102 260.0);
Tailwind
colors: {
  custom: {
    50: '#798ab6',
    500: '#3a5d97',
    950: '#000000',
  },
}
SCSS
$custom: #3a5d97;
$custom-light: #798ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5d97",
  "rgb": {
    "r": 58,
    "g": 93,
    "b": 151
  },
  "hsl": {
    "h": 217.419,
    "s": 44.498,
    "l": 40.98
  },
  "oklch": {
    "l": 0.48038,
    "c": 0.10246,
    "h": 260
  },
  "luminance": 0.10963
}

Semantic roles & 50–950 ramp

primary
#3A5D97
secondary
#B79E76
accent
#A454D4
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#0A0B11
muted
#7C7C80

Preview Lab

Preview with #3A5D97

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

Preview Lab → · Contrast checker → · Palette generator →

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