#2E71C0#2E71C0

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

Color values

HEX#2E71C0
RGBrgb(46, 113, 192)
HSLhsl(212, 61%, 47%)
HSVhsv(212, 76%, 75%)
CMYKcmyk(76%, 41.1%, 0%, 24.7%)
CIE-LABlab(47.23, 6.62, -47.43)
CIE-LCHlch(47.23, 47.89, 277.95°)
OKLaboklab(54.66% -0.0371 -0.1356)
OKLCHoklch(54.66% 0.141 254.7)
XYZxyz(16.5427, 16.1950, 52.1130)
Luminance0.1620 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E71C0 #C07D2E
analogous
#2EBAC0 #2E71C0 #342EC0
triadic
#2E71C0 #C02E71 #71C02E
tetradic
#2E71C0 #C02EBA #C07D2E #2EC034
square
#2E71C0 #C02EBA #C07D2E #2EC034
split-complementary
#2E71C0 #C0342E #BAC02E
monochromatic
#16375D #22548F #2E71C0 #5590D6 #86B0E2

Accessibility & contrast

On white

4.95
#2E71C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#2E71C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E71C0
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E71C0#FFFFFF#000000##FFFFFF
##2E71C01.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)
#4B77C3
Deuteranopia (green-blind)
#326ABE
Tritanopia (blue-blind)
#00848F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2e71c0;
/* rgb */ color: rgb(46, 113, 192);
/* oklch */ color: oklch(54.7% 0.141 254.7);
Tailwind
colors: {
  custom: {
    50: '#7b99d3',
    500: '#2e71c0',
    950: '#000000',
  },
}
SCSS
$custom: #2e71c0;
$custom-light: #7b99d3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e71c0",
  "rgb": {
    "r": 46,
    "g": 113,
    "b": 192
  },
  "hsl": {
    "h": 212.466,
    "s": 61.345,
    "l": 46.667
  },
  "oklch": {
    "l": 0.54656,
    "c": 0.14056,
    "h": 254.7
  },
  "luminance": 0.16197
}

Semantic roles & 50–950 ramp

primary
#2E71C0
secondary
#CCA87E
accent
#9B43E4
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #2E71C0

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

Preview Lab → · Contrast checker → · Palette generator →

#2E71C0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva