#2E71A5#2E71A5

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

Color values

HEX#2E71A5
RGBrgb(46, 113, 165)
HSLhsl(206, 56%, 41%)
HSVhsv(206, 72%, 65%)
CMYKcmyk(72.1%, 31.5%, 0%, 35.3%)
CIE-LABlab(45.78, -3.36, -34.02)
CIE-LCHlch(45.78, 34.19, 264.35°)
OKLaboklab(53.05% -0.0443 -0.0963)
OKLCHoklch(53.05% 0.106 245.3)
XYZxyz(13.8208, 15.1062, 37.7774)
Luminance0.1511 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E71A5 #A5622E
analogous
#2EA59E #2E71A5 #2E36A5
triadic
#2E71A5 #A52E71 #71A52E
tetradic
#2E71A5 #9E2EA5 #A5622E #36A52E
square
#2E71A5 #9E2EA5 #A5622E #36A52E
split-complementary
#2E71A5 #A52E36 #A59E2E
monochromatic
#132F45 #215075 #2E71A5 #4591CB #75ADD8

Accessibility & contrast

On white

5.22
#2E71A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#2E71A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E71A5
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E71A5#FFFFFF#000000##FFFFFF
##2E71A51.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5973A7
Deuteranopia (green-blind)
#4967A4
Tritanopia (blue-blind)
#007E83
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2e71a5;
/* rgb */ color: rgb(46, 113, 165);
/* oklch */ color: oklch(53.0% 0.106 245.3);
Tailwind
colors: {
  custom: {
    50: '#7699c0',
    500: '#2e71a5',
    950: '#000000',
  },
}
SCSS
$custom: #2e71a5;
$custom-light: #7699c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e71a5",
  "rgb": {
    "r": 46,
    "g": 113,
    "b": 165
  },
  "hsl": {
    "h": 206.218,
    "s": 56.398,
    "l": 41.373
  },
  "oklch": {
    "l": 0.53047,
    "c": 0.10602,
    "h": 245.3
  },
  "luminance": 0.15108
}

Semantic roles & 50–950 ramp

primary
#2E71A5
secondary
#C0926F
accent
#8A48E0
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #2E71A5

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

Preview Lab → · Contrast checker → · Palette generator →

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