#3A71A2#3A71A2

#3A71A2 is a mid, moderate cyan. Relative luminance 0.153; OKLCH L 53.3% C 0.097 H 247.6°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#3A71A2
RGBrgb(58, 113, 162)
HSLhsl(208, 47%, 43%)
HSVhsv(208, 64%, 64%)
CMYKcmyk(64.2%, 30.2%, 0%, 36.5%)
CIE-LABlab(46.07, -2.41, -31.78)
CIE-LCHlch(46.07, 31.87, 265.67°)
OKLaboklab(53.35% -0.037 -0.0897)
OKLCHoklch(53.35% 0.097 247.6)
XYZxyz(14.1692, 15.3170, 36.3852)
Luminance0.1532 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A71A2 #A26B3A
analogous
#3AA29F #3A71A2 #3A3DA2
triadic
#3A71A2 #A23A71 #71A23A
tetradic
#3A71A2 #9F3AA2 #A26B3A #3DA23A
square
#3A71A2 #9F3AA2 #A26B3A #3DA23A
split-complementary
#3A71A2 #A23A3D #A29F3A
monochromatic
#1A3248 #2A5275 #3A71A2 #5790C3 #84ADD3

Accessibility & contrast

On white

5.17
#3A71A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#3A71A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A71A2
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A71A2#FFFFFF#000000##FFFFFF
##3A71A21.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C73A4
Deuteranopia (green-blind)
#4E69A1
Tritanopia (blue-blind)
#007D82
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #3a71a2;
/* rgb */ color: rgb(58, 113, 162);
/* oklch */ color: oklch(53.3% 0.097 247.6);
Tailwind
colors: {
  custom: {
    50: '#7a99bd',
    500: '#3a71a2',
    950: '#000000',
  },
}
SCSS
$custom: #3a71a2;
$custom-light: #7a99bd;
$custom-dark: #000000;
JSON
{
  "hex": "#3a71a2",
  "rgb": {
    "r": 58,
    "g": 113,
    "b": 162
  },
  "hsl": {
    "h": 208.269,
    "s": 47.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.53345,
    "c": 0.09698,
    "h": 247.6
  },
  "luminance": 0.15318
}

Semantic roles & 50–950 ramp

primary
#3A71A2
secondary
#BD9A7B
accent
#9051D7
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #3A71A2

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

Preview Lab → · Contrast checker → · Palette generator →

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