#3A71B9#3A71B9

#3A71B9 is a mid, vivid cyan. Relative luminance 0.162; OKLCH L 54.7% C 0.127 H 256.0°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#3A71B9
RGBrgb(58, 113, 185)
HSLhsl(214, 52%, 48%)
HSVhsv(214, 69%, 73%)
CMYKcmyk(68.6%, 38.9%, 0%, 27.5%)
CIE-LABlab(47.25, 5.75, -43.33)
CIE-LCHlch(47.25, 43.71, 277.56°)
OKLaboklab(54.66% -0.0306 -0.1234)
OKLCHoklch(54.66% 0.127 256)
XYZxyz(16.4038, 16.2109, 48.1540)
Luminance0.1621 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A71B9 #B9823A
analogous
#3AB0B9 #3A71B9 #433AB9
triadic
#3A71B9 #B93A71 #71B93A
tetradic
#3A71B9 #B93AB0 #B9823A #3AB943
square
#3A71B9 #B93AB0 #B9823A #3AB943
split-complementary
#3A71B9 #B9433A #B0B93A
monochromatic
#1D385C #2B558A #3A71B9 #6291CE #91B2DC

Accessibility & contrast

On white

4.95
#3A71B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#3A71B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A71B9
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A71B9#FFFFFF#000000##FFFFFF
##3A71B91.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5077BC
Deuteranopia (green-blind)
#3D6BB8
Tritanopia (blue-blind)
#00828C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3a71b9;
/* rgb */ color: rgb(58, 113, 185);
/* oklch */ color: oklch(54.7% 0.127 256.0);
Tailwind
colors: {
  custom: {
    50: '#7e99ce',
    500: '#3a71b9',
    950: '#000000',
  },
}
SCSS
$custom: #3a71b9;
$custom-light: #7e99ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3a71b9",
  "rgb": {
    "r": 58,
    "g": 113,
    "b": 185
  },
  "hsl": {
    "h": 214.016,
    "s": 52.263,
    "l": 47.647
  },
  "oklch": {
    "l": 0.5466,
    "c": 0.12711,
    "h": 256
  },
  "luminance": 0.16213
}

Semantic roles & 50–950 ramp

primary
#3A71B9
secondary
#C7AC87
accent
#9E4CDC
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #3A71B9

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

Preview Lab → · Contrast checker → · Palette generator →

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