#2E71B9#2E71B9

#2E71B9 is a mid, vivid cyan. Relative luminance 0.159; OKLCH L 54.2% C 0.131 H 252.8°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#2E71B9
RGBrgb(46, 113, 185)
HSLhsl(211, 60%, 45%)
HSVhsv(211, 75%, 73%)
CMYKcmyk(75.1%, 38.9%, 0%, 27.5%)
CIE-LABlab(46.83, 4.01, -44.01)
CIE-LCHlch(46.83, 44.20, 275.20°)
OKLaboklab(54.22% -0.0388 -0.1255)
OKLCHoklch(54.22% 0.131 252.8)
XYZxyz(15.7855, 15.8921, 48.1251)
Luminance0.1589 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E71B9 #B9762E
analogous
#2EB6B9 #2E71B9 #302EB9
triadic
#2E71B9 #B92E71 #71B92E
tetradic
#2E71B9 #B92EB6 #B9762E #2EB930
square
#2E71B9 #B92EB6 #B9762E #2EB930
split-complementary
#2E71B9 #B9302E #B6B92E
monochromatic
#163557 #225388 #2E71B9 #5190D4 #82AFE0

Accessibility & contrast

On white

5.03
#2E71B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#2E71B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E71B9
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E71B9#FFFFFF#000000##FFFFFF
##2E71B91.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F76BC
Deuteranopia (green-blind)
#3969B8
Tritanopia (blue-blind)
#00828C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2e71b9;
/* rgb */ color: rgb(46, 113, 185);
/* oklch */ color: oklch(54.2% 0.131 252.8);
Tailwind
colors: {
  custom: {
    50: '#7a99ce',
    500: '#2e71b9',
    950: '#000000',
  },
}
SCSS
$custom: #2e71b9;
$custom-light: #7a99ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2e71b9",
  "rgb": {
    "r": 46,
    "g": 113,
    "b": 185
  },
  "hsl": {
    "h": 211.079,
    "s": 60.173,
    "l": 45.294
  },
  "oklch": {
    "l": 0.54218,
    "c": 0.13139,
    "h": 252.8
  },
  "luminance": 0.15894
}

Semantic roles & 50–950 ramp

primary
#2E71B9
secondary
#C9A37A
accent
#9744E3
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0D14
muted
#7C7E82

Preview Lab

Preview with #2E71B9

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

Preview Lab → · Contrast checker → · Palette generator →

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