#3A599D#3A599D

#3A599D is a mid, moderate blue. Relative luminance 0.105; OKLCH L 47.5% C 0.116 H 264.0°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#3A599D
RGBrgb(58, 89, 157)
HSLhsl(221, 46%, 42%)
HSVhsv(221, 63%, 62%)
CMYKcmyk(63.1%, 43.3%, 0%, 38.4%)
CIE-LABlab(38.69, 10.87, -40.48)
CIE-LCHlch(38.69, 41.91, 285.03°)
OKLaboklab(47.51% -0.012 -0.1153)
OKLCHoklch(47.51% 0.116 264)
XYZxyz(11.4010, 10.4776, 33.3133)
Luminance0.1048 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A599D #9D7E3A
analogous
#3A8B9D #3A599D #4C3A9D
triadic
#3A599D #9D3A59 #599D3A
tetradic
#3A599D #9D3A8B #9D7E3A #3A9D4C
square
#3A599D #9D3A8B #9D7E3A #3A9D4C
split-complementary
#3A599D #9D4C3A #8B9D3A
monochromatic
#192644 #294070 #3A599D #5476C0 #819AD0

Accessibility & contrast

On white

6.78
#3A599D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#3A599D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A599D
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A599D#FFFFFF#000000##FFFFFF
##3A599D1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A60A0
Deuteranopia (green-blind)
#2B579C
Tritanopia (blue-blind)
#006873
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3a599d;
/* rgb */ color: rgb(58, 89, 157);
/* oklch */ color: oklch(47.5% 0.116 264.0);
Tailwind
colors: {
  custom: {
    50: '#7a87ba',
    500: '#3a599d',
    950: '#000000',
  },
}
SCSS
$custom: #3a599d;
$custom-light: #7a87ba;
$custom-dark: #000000;
JSON
{
  "hex": "#3a599d",
  "rgb": {
    "r": 58,
    "g": 89,
    "b": 157
  },
  "hsl": {
    "h": 221.212,
    "s": 46.047,
    "l": 42.157
  },
  "oklch": {
    "l": 0.47508,
    "c": 0.11598,
    "h": 264
  },
  "luminance": 0.10479
}

Semantic roles & 50–950 ramp

primary
#3A599D
secondary
#BAA679
accent
#AC52D6
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #3A599D

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

Preview Lab → · Contrast checker → · Palette generator →

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