#3A579D#3A579D

#3A579D is a mid, moderate blue. Relative luminance 0.102; OKLCH L 47.1% C 0.118 H 265.2°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#3A579D
RGBrgb(58, 87, 157)
HSLhsl(222, 46%, 42%)
HSVhsv(222, 63%, 62%)
CMYKcmyk(63.1%, 44.6%, 0%, 38.4%)
CIE-LABlab(38.11, 12.17, -41.40)
CIE-LCHlch(38.11, 43.15, 286.38°)
OKLaboklab(47.06% -0.0099 -0.1181)
OKLCHoklch(47.06% 0.118 265.2)
XYZxyz(11.2368, 10.1493, 33.2586)
Luminance0.1015 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A579D #9D803A
analogous
#3A899D #3A579D #4E3A9D
triadic
#3A579D #9D3A57 #579D3A
tetradic
#3A579D #9D3A89 #9D803A #3A9D4E
square
#3A579D #9D3A89 #9D803A #3A9D4E
split-complementary
#3A579D #9D4E3A #899D3A
monochromatic
#192544 #293E70 #3A579D #5474C0 #8198D0

Accessibility & contrast

On white

6.93
#3A579D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#3A579D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A579D
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A579D#FFFFFF#000000##FFFFFF
##3A579D1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375FA0
Deuteranopia (green-blind)
#27559C
Tritanopia (blue-blind)
#006772
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3a579d;
/* rgb */ color: rgb(58, 87, 157);
/* oklch */ color: oklch(47.1% 0.118 265.2);
Tailwind
colors: {
  custom: {
    50: '#7a86ba',
    500: '#3a579d',
    950: '#000000',
  },
}
SCSS
$custom: #3a579d;
$custom-light: #7a86ba;
$custom-dark: #000000;
JSON
{
  "hex": "#3a579d",
  "rgb": {
    "r": 58,
    "g": 87,
    "b": 157
  },
  "hsl": {
    "h": 222.424,
    "s": 46.047,
    "l": 42.157
  },
  "oklch": {
    "l": 0.47063,
    "c": 0.11849,
    "h": 265.2
  },
  "luminance": 0.1015
}

Semantic roles & 50–950 ramp

primary
#3A579D
secondary
#BAA779
accent
#AF52D6
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #3A579D

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

Preview Lab → · Contrast checker → · Palette generator →

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