#3E71AC#3E71AC

#3E71AC is a mid, moderate cyan. Relative luminance 0.158; OKLCH L 54.1% C 0.108 H 253.4°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#3E71AC
RGBrgb(62, 113, 172)
HSLhsl(212, 47%, 46%)
HSVhsv(212, 64%, 67%)
CMYKcmyk(64%, 34.3%, 0%, 32.5%)
CIE-LABlab(46.73, 1.83, -36.59)
CIE-LCHlch(46.73, 36.63, 272.86°)
OKLaboklab(54.07% -0.0309 -0.1036)
OKLCHoklch(54.07% 0.108 253.4)
XYZxyz(15.3354, 15.8115, 41.2655)
Luminance0.1581 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E71AC #AC793E
analogous
#3EA8AC #3E71AC #423EAC
triadic
#3E71AC #AC3E71 #71AC3E
tetradic
#3E71AC #AC3EA8 #AC793E #3EAC42
square
#3E71AC #AC3EA8 #AC793E #3EAC42
split-complementary
#3E71AC #AC423E #A8AC3E
monochromatic
#1E3652 #2E537F #3E71AC #6190C6 #8EB0D6

Accessibility & contrast

On white

5.04
#3E71AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#3E71AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E71AC
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E71AC#FFFFFF#000000##FFFFFF
##3E71AC1.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5875AE
Deuteranopia (green-blind)
#496AAB
Tritanopia (blue-blind)
#007F86
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3e71ac;
/* rgb */ color: rgb(62, 113, 172);
/* oklch */ color: oklch(54.1% 0.108 253.4);
Tailwind
colors: {
  custom: {
    50: '#7e99c5',
    500: '#3e71ac',
    950: '#000000',
  },
}
SCSS
$custom: #3e71ac;
$custom-light: #7e99c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3e71ac",
  "rgb": {
    "r": 62,
    "g": 113,
    "b": 172
  },
  "hsl": {
    "h": 212.182,
    "s": 47.009,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54072,
    "c": 0.1081,
    "h": 253.4
  },
  "luminance": 0.15813
}

Semantic roles & 50–950 ramp

primary
#3E71AC
secondary
#C1A585
accent
#9951D7
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0D13
muted
#7C7E82

Preview Lab

Preview with #3E71AC

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

Preview Lab → · Contrast checker → · Palette generator →

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