#2E71AC#2E71AC

#2E71AC is a mid, moderate cyan. Relative luminance 0.154; OKLCH L 53.4% C 0.115 H 248.4°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#2E71AC
RGBrgb(46, 113, 172)
HSLhsl(208, 58%, 43%)
HSVhsv(208, 73%, 67%)
CMYKcmyk(73.3%, 34.3%, 0%, 32.5%)
CIE-LABlab(46.13, -0.81, -37.56)
CIE-LCHlch(46.13, 37.57, 268.77°)
OKLaboklab(53.44% -0.0422 -0.1066)
OKLCHoklch(53.44% 0.115 248.4)
XYZxyz(14.4754, 15.3680, 41.2252)
Luminance0.1537 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E71AC #AC692E
analogous
#2EACA8 #2E71AC #2E32AC
triadic
#2E71AC #AC2E71 #71AC2E
tetradic
#2E71AC #A82EAC #AC692E #32AC2E
square
#2E71AC #A82EAC #AC692E #32AC2E
split-complementary
#2E71AC #AC2E32 #ACA82E
monochromatic
#14324B #21517C #2E71AC #4990CE #79ADDB

Accessibility & contrast

On white

5.15
#2E71AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#2E71AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E71AC
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E71AC#FFFFFF#000000##FFFFFF
##2E71AC1.005.154.075.15
#FFFFFF5.151.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5674AE
Deuteranopia (green-blind)
#4468AB
Tritanopia (blue-blind)
#007F86
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2e71ac;
/* rgb */ color: rgb(46, 113, 172);
/* oklch */ color: oklch(53.4% 0.115 248.4);
Tailwind
colors: {
  custom: {
    50: '#7799c5',
    500: '#2e71ac',
    950: '#000000',
  },
}
SCSS
$custom: #2e71ac;
$custom-light: #7799c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e71ac",
  "rgb": {
    "r": 46,
    "g": 113,
    "b": 172
  },
  "hsl": {
    "h": 208.095,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.53443,
    "c": 0.1147,
    "h": 248.4
  },
  "luminance": 0.1537
}

Semantic roles & 50–950 ramp

primary
#2E71AC
secondary
#C39872
accent
#8F47E1
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2E71AC

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

Preview Lab → · Contrast checker → · Palette generator →

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