#3A579A#3A579A

#3A579A is a mid, moderate blue. Relative luminance 0.100; OKLCH L 46.9% C 0.114 H 264.7°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#3A579A
RGBrgb(58, 87, 154)
HSLhsl(222, 45%, 42%)
HSVhsv(222, 62%, 60%)
CMYKcmyk(62.3%, 43.5%, 0%, 39.6%)
CIE-LABlab(37.93, 11.09, -39.89)
CIE-LCHlch(37.93, 41.40, 285.54°)
OKLaboklab(46.87% -0.0104 -0.1136)
OKLCHoklch(46.87% 0.114 264.7)
XYZxyz(10.9838, 10.0481, 31.9262)
Luminance0.1005 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A579A #9A7D3A
analogous
#3A879A #3A579A #4D3A9A
triadic
#3A579A #9A3A57 #579A3A
tetradic
#3A579A #9A3A87 #9A7D3A #3A9A4D
square
#3A579A #9A3A87 #9A7D3A #3A9A4D
split-complementary
#3A579A #9A4D3A #879A3A
monochromatic
#192541 #293E6E #3A579A #5373BE #7F97CF

Accessibility & contrast

On white

6.98
#3A579A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#3A579A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A579A
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A579A#FFFFFF#000000##FFFFFF
##3A579A1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395E9D
Deuteranopia (green-blind)
#2B5599
Tritanopia (blue-blind)
#006671
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3a579a;
/* rgb */ color: rgb(58, 87, 154);
/* oklch */ color: oklch(46.9% 0.114 264.7);
Tailwind
colors: {
  custom: {
    50: '#7986b8',
    500: '#3a579a',
    950: '#000000',
  },
}
SCSS
$custom: #3a579a;
$custom-light: #7986b8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a579a",
  "rgb": {
    "r": 58,
    "g": 87,
    "b": 154
  },
  "hsl": {
    "h": 221.875,
    "s": 45.283,
    "l": 41.569
  },
  "oklch": {
    "l": 0.46866,
    "c": 0.11412,
    "h": 264.7
  },
  "luminance": 0.10049
}

Semantic roles & 50–950 ramp

primary
#3A579A
secondary
#B9A577
accent
#AE53D5
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#0A0B11
muted
#7C7C80

Preview Lab

Preview with #3A579A

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

Preview Lab → · Contrast checker → · Palette generator →

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