#3A5871#3A5871

#3A5871 is a dark, muted cyan. Relative luminance 0.091; OKLCH L 44.8% C 0.054 H 244.6°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#3A5871
RGBrgb(58, 88, 113)
HSLhsl(207, 32%, 34%)
HSVhsv(207, 49%, 44%)
CMYKcmyk(48.7%, 22.1%, 0%, 55.7%)
CIE-LABlab(36.12, -3.59, -17.70)
CIE-LCHlch(36.12, 18.06, 258.52°)
OKLaboklab(44.77% -0.0234 -0.0492)
OKLCHoklch(44.77% 0.054 244.6)
XYZxyz(8.2143, 9.0707, 16.9375)
Luminance0.0907 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5871 #71533A
analogous
#3A716E #3A5871 #3A3C71
triadic
#3A5871 #713A58 #58713A
tetradic
#3A5871 #6E3A71 #71533A #3C713A
square
#3A5871 #6E3A71 #71533A #3C713A
split-complementary
#3A5871 #713A3C #716E3A
monochromatic
#101920 #253949 #3A5871 #4F7799 #7096B6

Accessibility & contrast

On white

7.46
#3A5871 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#3A5871 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A5871
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5871#FFFFFF#000000##FFFFFF
##3A58711.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5872
Deuteranopia (green-blind)
#465271
Tritanopia (blue-blind)
#225E60
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3a5871;
/* rgb */ color: rgb(58, 88, 113);
/* oklch */ color: oklch(44.8% 0.054 244.6);
Tailwind
colors: {
  custom: {
    50: '#73879a',
    500: '#3a5871',
    950: '#000000',
  },
}
SCSS
$custom: #3a5871;
$custom-light: #73879a;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5871",
  "rgb": {
    "r": 58,
    "g": 88,
    "b": 113
  },
  "hsl": {
    "h": 207.273,
    "s": 32.164,
    "l": 33.529
  },
  "oklch": {
    "l": 0.44766,
    "c": 0.05449,
    "h": 244.6
  },
  "luminance": 0.09071
}

Semantic roles & 50–950 ramp

primary
#3A5871
secondary
#9F8168
accent
#8F5FC8
background
#F7F8F9
surface
#EDEFF2
border
#C8CACC
text
#080B0E
muted
#7B7C7E

Preview Lab

Preview with #3A5871

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

Preview Lab → · Contrast checker → · Palette generator →

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