#2E71B2#2E71B2

#2E71B2 is a mid, vivid cyan. Relative luminance 0.156; OKLCH L 53.8% C 0.122 H 250.6°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#2E71B2
RGBrgb(46, 113, 178)
HSLhsl(210, 59%, 44%)
HSVhsv(210, 74%, 70%)
CMYKcmyk(74.2%, 36.5%, 0%, 30.2%)
CIE-LABlab(46.45, 1.41, -40.56)
CIE-LCHlch(46.45, 40.58, 271.99°)
OKLaboklab(53.79% -0.0406 -0.1154)
OKLCHoklch(53.79% 0.122 250.6)
XYZxyz(15.0647, 15.6037, 44.3287)
Luminance0.1560 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E71B2 #B26F2E
analogous
#2EB2B1 #2E71B2 #2E2FB2
triadic
#2E71B2 #B22E71 #71B22E
tetradic
#2E71B2 #B12EB2 #B26F2E #2FB22E
square
#2E71B2 #B12EB2 #B26F2E #2FB22E
split-complementary
#2E71B2 #B22E2F #B2B12E
monochromatic
#153351 #215281 #2E71B2 #4C90D1 #7DAEDD

Accessibility & contrast

On white

5.10
#2E71B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#2E71B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E71B2
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E71B2#FFFFFF#000000##FFFFFF
##2E71B21.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5375B5
Deuteranopia (green-blind)
#4068B1
Tritanopia (blue-blind)
#008089
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2e71b2;
/* rgb */ color: rgb(46, 113, 178);
/* oklch */ color: oklch(53.8% 0.122 250.6);
Tailwind
colors: {
  custom: {
    50: '#7899c9',
    500: '#2e71b2',
    950: '#000000',
  },
}
SCSS
$custom: #2e71b2;
$custom-light: #7899c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e71b2",
  "rgb": {
    "r": 46,
    "g": 113,
    "b": 178
  },
  "hsl": {
    "h": 209.545,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.53794,
    "c": 0.12233,
    "h": 250.6
  },
  "luminance": 0.15605
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E71B2

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

Preview Lab → · Contrast checker → · Palette generator →

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