#3A71B5#3A71B5

#3A71B5 is a mid, vivid cyan. Relative luminance 0.160; OKLCH L 54.4% C 0.122 H 254.9°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#3A71B5
RGBrgb(58, 113, 181)
HSLhsl(213, 51%, 47%)
HSVhsv(213, 68%, 71%)
CMYKcmyk(68%, 37.6%, 0%, 29%)
CIE-LABlab(47.03, 4.31, -41.35)
CIE-LCHlch(47.03, 41.58, 275.95°)
OKLaboklab(54.42% -0.0316 -0.1176)
OKLCHoklch(54.42% 0.122 254.9)
XYZxyz(15.9875, 16.0444, 45.9614)
Luminance0.1605 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A71B5 #B57E3A
analogous
#3AAEB5 #3A71B5 #413AB5
triadic
#3A71B5 #B53A71 #71B53A
tetradic
#3A71B5 #B53AAE #B57E3A #3AB541
square
#3A71B5 #B53AAE #B57E3A #3AB541
split-complementary
#3A71B5 #B5413A #AEB53A
monochromatic
#1C3758 #2B5487 #3A71B5 #6090CC #8EB1DB

Accessibility & contrast

On white

4.99
#3A71B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#3A71B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A71B5
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A71B5#FFFFFF#000000##FFFFFF
##3A71B51.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5376B8
Deuteranopia (green-blind)
#416AB4
Tritanopia (blue-blind)
#00818A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3a71b5;
/* rgb */ color: rgb(58, 113, 181);
/* oklch */ color: oklch(54.4% 0.122 254.9);
Tailwind
colors: {
  custom: {
    50: '#7e99cb',
    500: '#3a71b5',
    950: '#000000',
  },
}
SCSS
$custom: #3a71b5;
$custom-light: #7e99cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3a71b5",
  "rgb": {
    "r": 58,
    "g": 113,
    "b": 181
  },
  "hsl": {
    "h": 213.171,
    "s": 51.464,
    "l": 46.863
  },
  "oklch": {
    "l": 0.5442,
    "c": 0.12176,
    "h": 254.9
  },
  "luminance": 0.16046
}

Semantic roles & 50–950 ramp

primary
#3A71B5
secondary
#C6A985
accent
#9B4DDB
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0D13
muted
#7C7E82

Preview Lab

Preview with #3A71B5

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

Preview Lab → · Contrast checker → · Palette generator →

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