#2E71BC#2E71BC

#2E71BC is a mid, vivid cyan. Relative luminance 0.160; OKLCH L 54.4% C 0.135 H 253.7°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#2E71BC
RGBrgb(46, 113, 188)
HSLhsl(212, 61%, 46%)
HSVhsv(212, 76%, 74%)
CMYKcmyk(75.5%, 39.9%, 0%, 26.3%)
CIE-LABlab(47.00, 5.13, -45.48)
CIE-LCHlch(47.00, 45.77, 276.43°)
OKLaboklab(54.4% -0.0381 -0.1298)
OKLCHoklch(54.4% 0.135 253.7)
XYZxyz(16.1056, 16.0201, 49.8106)
Luminance0.1602 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E71BC #BC792E
analogous
#2EB8BC #2E71BC #322EBC
triadic
#2E71BC #BC2E71 #71BC2E
tetradic
#2E71BC #BC2EB8 #BC792E #2EBC32
square
#2E71BC #BC2EB8 #BC792E #2EBC32
split-complementary
#2E71BC #BC322E #B8BC2E
monochromatic
#16365A #22538B #2E71BC #5290D5 #84B0E1

Accessibility & contrast

On white

4.99
#2E71BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#2E71BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E71BC
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E71BC#FFFFFF#000000##FFFFFF
##2E71BC1.004.994.204.99
#FFFFFF4.991.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D77BF
Deuteranopia (green-blind)
#3669BB
Tritanopia (blue-blind)
#00838D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2e71bc;
/* rgb */ color: rgb(46, 113, 188);
/* oklch */ color: oklch(54.4% 0.135 253.7);
Tailwind
colors: {
  custom: {
    50: '#7a99d0',
    500: '#2e71bc',
    950: '#000000',
  },
}
SCSS
$custom: #2e71bc;
$custom-light: #7a99d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e71bc",
  "rgb": {
    "r": 46,
    "g": 113,
    "b": 188
  },
  "hsl": {
    "h": 211.69,
    "s": 60.684,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54404,
    "c": 0.13532,
    "h": 253.7
  },
  "luminance": 0.16022
}

Semantic roles & 50–950 ramp

primary
#2E71BC
secondary
#CAA57C
accent
#9844E4
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #2E71BC

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

Preview Lab → · Contrast checker → · Palette generator →

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