#2E71B6#2E71B6

#2E71B6 is a mid, vivid cyan. Relative luminance 0.158; OKLCH L 54.0% C 0.127 H 251.9°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#2E71B6
RGBrgb(46, 113, 182)
HSLhsl(210, 60%, 45%)
HSVhsv(210, 75%, 71%)
CMYKcmyk(74.7%, 37.9%, 0%, 28.6%)
CIE-LABlab(46.67, 2.89, -42.54)
CIE-LCHlch(46.67, 42.64, 273.89°)
OKLaboklab(54.04% -0.0395 -0.1212)
OKLCHoklch(54.04% 0.127 251.9)
XYZxyz(15.4722, 15.7667, 46.4748)
Luminance0.1577 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E71B6 #B6732E
analogous
#2EB5B6 #2E71B6 #2F2EB6
triadic
#2E71B6 #B62E71 #71B62E
tetradic
#2E71B6 #B62EB5 #B6732E #2EB62F
square
#2E71B6 #B62EB5 #B6732E #2EB62F
split-complementary
#2E71B6 #B62F2E #B5B62E
monochromatic
#153454 #225385 #2E71B6 #4F90D2 #80AFDF

Accessibility & contrast

On white

5.06
#2E71B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#2E71B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E71B6
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E71B6#FFFFFF#000000##FFFFFF
##2E71B61.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5175B9
Deuteranopia (green-blind)
#3C69B5
Tritanopia (blue-blind)
#00818B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2e71b6;
/* rgb */ color: rgb(46, 113, 182);
/* oklch */ color: oklch(54.0% 0.127 251.9);
Tailwind
colors: {
  custom: {
    50: '#7999cc',
    500: '#2e71b6',
    950: '#000000',
  },
}
SCSS
$custom: #2e71b6;
$custom-light: #7999cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e71b6",
  "rgb": {
    "r": 46,
    "g": 113,
    "b": 182
  },
  "hsl": {
    "h": 210.441,
    "s": 59.649,
    "l": 44.706
  },
  "oklch": {
    "l": 0.54035,
    "c": 0.12749,
    "h": 251.9
  },
  "luminance": 0.15768
}

Semantic roles & 50–950 ramp

primary
#2E71B6
secondary
#C8A078
accent
#9545E3
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2E71B6

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

Preview Lab → · Contrast checker → · Palette generator →

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