#2E71A1#2E71A1

#2E71A1 is a mid, moderate cyan. Relative luminance 0.150; OKLCH L 52.8% C 0.101 H 243.2°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#2E71A1
RGBrgb(46, 113, 161)
HSLhsl(205, 56%, 41%)
HSVhsv(205, 71%, 63%)
CMYKcmyk(71.4%, 29.8%, 0%, 36.9%)
CIE-LABlab(45.58, -4.81, -31.98)
CIE-LCHlch(45.58, 32.34, 261.44°)
OKLaboklab(52.83% -0.0456 -0.0904)
OKLCHoklch(52.83% 0.101 243.2)
XYZxyz(13.4624, 14.9628, 35.8899)
Luminance0.1496 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E71A1 #A15E2E
analogous
#2EA197 #2E71A1 #2E38A1
triadic
#2E71A1 #A12E71 #71A12E
tetradic
#2E71A1 #972EA1 #A15E2E #38A12E
square
#2E71A1 #972EA1 #A15E2E #38A12E
split-complementary
#2E71A1 #A12E38 #A1972E
monochromatic
#132E42 #205071 #2E71A1 #4391C9 #73ADD7

Accessibility & contrast

On white

5.26
#2E71A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#2E71A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E71A1
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E71A1#FFFFFF#000000##FFFFFF
##2E71A11.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B72A3
Deuteranopia (green-blind)
#4B67A0
Tritanopia (blue-blind)
#007D82
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2e71a1;
/* rgb */ color: rgb(46, 113, 161);
/* oklch */ color: oklch(52.8% 0.101 243.2);
Tailwind
colors: {
  custom: {
    50: '#7599bd',
    500: '#2e71a1',
    950: '#000000',
  },
}
SCSS
$custom: #2e71a1;
$custom-light: #7599bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e71a1",
  "rgb": {
    "r": 46,
    "g": 113,
    "b": 161
  },
  "hsl": {
    "h": 205.043,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.52828,
    "c": 0.10122,
    "h": 243.2
  },
  "luminance": 0.14964
}

Semantic roles & 50–950 ramp

primary
#2E71A1
secondary
#BE8F6C
accent
#8849DF
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090D12
muted
#7B7E81

Preview Lab

Preview with #2E71A1

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

Preview Lab → · Contrast checker → · Palette generator →

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