#2E71A4#2E71A4

#2E71A4 is a mid, moderate cyan. Relative luminance 0.151; OKLCH L 53.0% C 0.105 H 244.8°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#2E71A4
RGBrgb(46, 113, 164)
HSLhsl(206, 56%, 41%)
HSVhsv(206, 72%, 64%)
CMYKcmyk(72%, 31.1%, 0%, 35.7%)
CIE-LABlab(45.73, -3.73, -33.51)
CIE-LCHlch(45.73, 33.72, 263.66°)
OKLaboklab(52.99% -0.0446 -0.0948)
OKLCHoklch(52.99% 0.105 244.8)
XYZxyz(13.7301, 15.0699, 37.2999)
Luminance0.1507 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E71A4 #A4612E
analogous
#2EA49C #2E71A4 #2E36A4
triadic
#2E71A4 #A42E71 #71A42E
tetradic
#2E71A4 #9C2EA4 #A4612E #36A42E
square
#2E71A4 #9C2EA4 #A4612E #36A42E
split-complementary
#2E71A4 #A42E36 #A49C2E
monochromatic
#132F44 #215074 #2E71A4 #4591CB #74ADD8

Accessibility & contrast

On white

5.23
#2E71A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#2E71A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E71A4
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E71A4#FFFFFF#000000##FFFFFF
##2E71A41.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A72A6
Deuteranopia (green-blind)
#4967A3
Tritanopia (blue-blind)
#007D83
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2e71a4;
/* rgb */ color: rgb(46, 113, 164);
/* oklch */ color: oklch(53.0% 0.105 244.8);
Tailwind
colors: {
  custom: {
    50: '#7699bf',
    500: '#2e71a4',
    950: '#000000',
  },
}
SCSS
$custom: #2e71a4;
$custom-light: #7699bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2e71a4",
  "rgb": {
    "r": 46,
    "g": 113,
    "b": 164
  },
  "hsl": {
    "h": 205.932,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.52992,
    "c": 0.10481,
    "h": 244.8
  },
  "luminance": 0.15071
}

Semantic roles & 50–950 ramp

primary
#2E71A4
secondary
#C0916E
accent
#8A48DF
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#090D12
muted
#7B7E81

Preview Lab

Preview with #2E71A4

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

Preview Lab → · Contrast checker → · Palette generator →

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