#2E71A3#2E71A3

#2E71A3 is a mid, moderate cyan. Relative luminance 0.150; OKLCH L 52.9% C 0.104 H 244.3°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#2E71A3
RGBrgb(46, 113, 163)
HSLhsl(206, 56%, 41%)
HSVhsv(206, 72%, 64%)
CMYKcmyk(71.8%, 30.7%, 0%, 36.1%)
CIE-LABlab(45.68, -4.09, -33.00)
CIE-LCHlch(45.68, 33.25, 262.94°)
OKLaboklab(52.94% -0.0449 -0.0933)
OKLCHoklch(52.94% 0.104 244.3)
XYZxyz(13.6402, 15.0339, 36.8262)
Luminance0.1504 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E71A3 #A3602E
analogous
#2EA39A #2E71A3 #2E36A3
triadic
#2E71A3 #A32E71 #71A32E
tetradic
#2E71A3 #9A2EA3 #A3602E #36A32E
square
#2E71A3 #9A2EA3 #A3602E #36A32E
split-complementary
#2E71A3 #A32E36 #A39A2E
monochromatic
#132F44 #215073 #2E71A3 #4491CA #74ADD8

Accessibility & contrast

On white

5.24
#2E71A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2E71A3
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E71A3#FFFFFF#000000##FFFFFF
##2E71A31.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A72A5
Deuteranopia (green-blind)
#4A67A2
Tritanopia (blue-blind)
#007D83
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2e71a3;
/* rgb */ color: rgb(46, 113, 163);
/* oklch */ color: oklch(52.9% 0.104 244.3);
Tailwind
colors: {
  custom: {
    50: '#7699be',
    500: '#2e71a3',
    950: '#000000',
  },
}
SCSS
$custom: #2e71a3;
$custom-light: #7699be;
$custom-dark: #000000;
JSON
{
  "hex": "#2e71a3",
  "rgb": {
    "r": 46,
    "g": 113,
    "b": 163
  },
  "hsl": {
    "h": 205.641,
    "s": 55.981,
    "l": 40.98
  },
  "oklch": {
    "l": 0.52937,
    "c": 0.1036,
    "h": 244.3
  },
  "luminance": 0.15035
}

Semantic roles & 50–950 ramp

primary
#2E71A3
secondary
#BF906D
accent
#8949DF
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#090D12
muted
#7B7E81

Preview Lab

Preview with #2E71A3

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

Preview Lab → · Contrast checker → · Palette generator →

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