#3A5979#3A5979

#3A5979 is a mid, moderate cyan. Relative luminance 0.094; OKLCH L 45.4% C 0.064 H 250.1°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#3A5979
RGBrgb(58, 89, 121)
HSLhsl(210, 35%, 35%)
HSVhsv(210, 52%, 47%)
CMYKcmyk(52.1%, 26.4%, 0%, 52.5%)
CIE-LABlab(36.79, -1.62, -21.61)
CIE-LCHlch(36.79, 21.67, 265.71°)
OKLaboklab(45.41% -0.0218 -0.0604)
OKLCHoklch(45.41% 0.064 250.1)
XYZxyz(8.7673, 9.4241, 19.4425)
Luminance0.0943 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5979 #795A3A
analogous
#3A7979 #3A5979 #3A3A79
triadic
#3A5979 #793A59 #59793A
tetradic
#3A5979 #793A79 #795A3A #3A793A
square
#3A5979 #793A79 #795A3A #3A793A
split-complementary
#3A5979 #793A3A #79793A
monochromatic
#121C26 #263B50 #3A5979 #4E77A2 #7296BB

Accessibility & contrast

On white

7.28
#3A5979 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#3A5979 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A5979
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5979#FFFFFF#000000##FFFFFF
##3A59791.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5A7A
Deuteranopia (green-blind)
#445478
Tritanopia (blue-blind)
#1B6064
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3a5979;
/* rgb */ color: rgb(58, 89, 121);
/* oklch */ color: oklch(45.4% 0.064 250.1);
Tailwind
colors: {
  custom: {
    50: '#7487a0',
    500: '#3a5979',
    950: '#000000',
  },
}
SCSS
$custom: #3a5979;
$custom-light: #7487a0;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5979",
  "rgb": {
    "r": 58,
    "g": 89,
    "b": 121
  },
  "hsl": {
    "h": 210.476,
    "s": 35.196,
    "l": 35.098
  },
  "oklch": {
    "l": 0.4541,
    "c": 0.06423,
    "h": 250.1
  },
  "luminance": 0.09425
}

Semantic roles & 50–950 ramp

primary
#3A5979
secondary
#A5886A
accent
#955DCB
background
#F7F8F9
surface
#EDEFF2
border
#C8CACC
text
#080B0E
muted
#7B7C7E

Preview Lab

Preview with #3A5979

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

Preview Lab → · Contrast checker → · Palette generator →

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