#2E71C1#2E71C1

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

Color values

HEX#2E71C1
RGBrgb(46, 113, 193)
HSLhsl(213, 62%, 47%)
HSVhsv(213, 76%, 76%)
CMYKcmyk(76.2%, 41.5%, 0%, 24.3%)
CIE-LABlab(47.29, 7.00, -47.91)
CIE-LCHlch(47.29, 48.42, 278.31°)
OKLaboklab(54.72% -0.0369 -0.137)
OKLCHoklch(54.72% 0.142 254.9)
XYZxyz(16.6539, 16.2394, 52.6985)
Luminance0.1624 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E71C1 #C17E2E
analogous
#2EBBC1 #2E71C1 #352EC1
triadic
#2E71C1 #C12E71 #71C12E
tetradic
#2E71C1 #C12EBB #C17E2E #2EC135
square
#2E71C1 #C12EBB #C17E2E #2EC135
split-complementary
#2E71C1 #C1352E #BBC12E
monochromatic
#16375E #225490 #2E71C1 #5690D7 #87B1E2

Accessibility & contrast

On white

4.94
#2E71C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#2E71C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E71C1
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E71C1#FFFFFF#000000##FFFFFF
##2E71C11.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A77C4
Deuteranopia (green-blind)
#316ABF
Tritanopia (blue-blind)
#00848F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2e71c1;
/* rgb */ color: rgb(46, 113, 193);
/* oklch */ color: oklch(54.7% 0.142 254.9);
Tailwind
colors: {
  custom: {
    50: '#7b99d4',
    500: '#2e71c1',
    950: '#000000',
  },
}
SCSS
$custom: #2e71c1;
$custom-light: #7b99d4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e71c1",
  "rgb": {
    "r": 46,
    "g": 113,
    "b": 193
  },
  "hsl": {
    "h": 212.653,
    "s": 61.506,
    "l": 46.863
  },
  "oklch": {
    "l": 0.5472,
    "c": 0.14187,
    "h": 254.9
  },
  "luminance": 0.16241
}

Semantic roles & 50–950 ramp

primary
#2E71C1
secondary
#CCA97F
accent
#9B43E5
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #2E71C1

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

Preview Lab → · Contrast checker → · Palette generator →

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