#2E71BD#2E71BD

#2E71BD is a mid, vivid cyan. Relative luminance 0.161; OKLCH L 54.5% C 0.137 H 253.9°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#2E71BD
RGBrgb(46, 113, 189)
HSLhsl(212, 61%, 46%)
HSVhsv(212, 76%, 74%)
CMYKcmyk(75.7%, 40.2%, 0%, 25.9%)
CIE-LABlab(47.06, 5.50, -45.97)
CIE-LCHlch(47.06, 46.30, 276.82°)
OKLaboklab(54.47% -0.0378 -0.1313)
OKLCHoklch(54.47% 0.137 253.9)
XYZxyz(16.2137, 16.0634, 50.3803)
Luminance0.1606 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E71BD #BD7A2E
analogous
#2EB8BD #2E71BD #322EBD
triadic
#2E71BD #BD2E71 #71BD2E
tetradic
#2E71BD #BD2EB8 #BD7A2E #2EBD32
square
#2E71BD #BD2EB8 #BD7A2E #2EBD32
split-complementary
#2E71BD #BD322E #B8BD2E
monochromatic
#16365B #22548C #2E71BD #5390D5 #84B0E1

Accessibility & contrast

On white

4.98
#2E71BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#2E71BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E71BD
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E71BD#FFFFFF#000000##FFFFFF
##2E71BD1.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D77C0
Deuteranopia (green-blind)
#356ABB
Tritanopia (blue-blind)
#00838E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2e71bd;
/* rgb */ color: rgb(46, 113, 189);
/* oklch */ color: oklch(54.5% 0.137 253.9);
Tailwind
colors: {
  custom: {
    50: '#7a99d1',
    500: '#2e71bd',
    950: '#000000',
  },
}
SCSS
$custom: #2e71bd;
$custom-light: #7a99d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e71bd",
  "rgb": {
    "r": 46,
    "g": 113,
    "b": 189
  },
  "hsl": {
    "h": 211.888,
    "s": 60.851,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54466,
    "c": 0.13662,
    "h": 253.9
  },
  "luminance": 0.16065
}

Semantic roles & 50–950 ramp

primary
#2E71BD
secondary
#CAA67C
accent
#9944E4
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #2E71BD

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

Preview Lab → · Contrast checker → · Palette generator →

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