#2E71BE#2E71BE

#2E71BE is a mid, vivid cyan. Relative luminance 0.161; OKLCH L 54.5% C 0.138 H 254.2°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#2E71BE
RGBrgb(46, 113, 190)
HSLhsl(212, 61%, 46%)
HSVhsv(212, 76%, 75%)
CMYKcmyk(75.8%, 40.5%, 0%, 25.5%)
CIE-LABlab(47.11, 5.88, -46.46)
CIE-LCHlch(47.11, 46.83, 277.21°)
OKLaboklab(54.53% -0.0376 -0.1327)
OKLCHoklch(54.53% 0.138 254.2)
XYZxyz(16.3226, 16.1069, 50.9539)
Luminance0.1611 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E71BE #BE7B2E
analogous
#2EB9BE #2E71BE #332EBE
triadic
#2E71BE #BE2E71 #71BE2E
tetradic
#2E71BE #BE2EB9 #BE7B2E #2EBE33
square
#2E71BE #BE2EB9 #BE7B2E #2EBE33
split-complementary
#2E71BE #BE332E #B9BE2E
monochromatic
#16365B #22548D #2E71BE #5490D6 #85B0E1

Accessibility & contrast

On white

4.97
#2E71BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#2E71BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E71BE
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E71BE#FFFFFF#000000##FFFFFF
##2E71BE1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C77C1
Deuteranopia (green-blind)
#346ABC
Tritanopia (blue-blind)
#00838E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2e71be;
/* rgb */ color: rgb(46, 113, 190);
/* oklch */ color: oklch(54.5% 0.138 254.2);
Tailwind
colors: {
  custom: {
    50: '#7b99d2',
    500: '#2e71be',
    950: '#000000',
  },
}
SCSS
$custom: #2e71be;
$custom-light: #7b99d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e71be",
  "rgb": {
    "r": 46,
    "g": 113,
    "b": 190
  },
  "hsl": {
    "h": 212.083,
    "s": 61.017,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54529,
    "c": 0.13793,
    "h": 254.2
  },
  "luminance": 0.16109
}

Semantic roles & 50–950 ramp

primary
#2E71BE
secondary
#CBA77D
accent
#9944E4
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #2E71BE

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

Preview Lab → · Contrast checker → · Palette generator →

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