#2E71B3#2E71B3

#2E71B3 is a mid, vivid cyan. Relative luminance 0.156; OKLCH L 53.9% C 0.124 H 251.0°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#2E71B3
RGBrgb(46, 113, 179)
HSLhsl(210, 59%, 44%)
HSVhsv(210, 74%, 70%)
CMYKcmyk(74.3%, 36.9%, 0%, 29.8%)
CIE-LABlab(46.50, 1.78, -41.05)
CIE-LCHlch(46.50, 41.09, 272.48°)
OKLaboklab(53.85% -0.0403 -0.1169)
OKLCHoklch(53.85% 0.124 251)
XYZxyz(15.1655, 15.6441, 44.8594)
Luminance0.1565 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E71B3 #B3702E
analogous
#2EB3B3 #2E71B3 #2E2FB3
triadic
#2E71B3 #B32E71 #71B32E
tetradic
#2E71B3 #B32EB3 #B3702E #2FB32E
square
#2E71B3 #B32EB3 #B3702E #2FB32E
split-complementary
#2E71B3 #B32E2F #B3B32E
monochromatic
#153452 #215282 #2E71B3 #4D90D1 #7EAEDE

Accessibility & contrast

On white

5.09
#2E71B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#2E71B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E71B3
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E71B3#FFFFFF#000000##FFFFFF
##2E71B31.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5375B6
Deuteranopia (green-blind)
#3F69B2
Tritanopia (blue-blind)
#008189
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2e71b3;
/* rgb */ color: rgb(46, 113, 179);
/* oklch */ color: oklch(53.9% 0.124 251.0);
Tailwind
colors: {
  custom: {
    50: '#7899ca',
    500: '#2e71b3',
    950: '#000000',
  },
}
SCSS
$custom: #2e71b3;
$custom-light: #7899ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2e71b3",
  "rgb": {
    "r": 46,
    "g": 113,
    "b": 179
  },
  "hsl": {
    "h": 209.774,
    "s": 59.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53854,
    "c": 0.12362,
    "h": 251
  },
  "luminance": 0.15646
}

Semantic roles & 50–950 ramp

primary
#2E71B3
secondary
#C69E76
accent
#9346E2
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2E71B3

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

Preview Lab → · Contrast checker → · Palette generator →

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