#2E71A2#2E71A2

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

Color values

HEX#2E71A2
RGBrgb(46, 113, 162)
HSLhsl(205, 56%, 41%)
HSVhsv(205, 72%, 64%)
CMYKcmyk(71.6%, 30.2%, 0%, 36.5%)
CIE-LABlab(45.63, -4.45, -32.49)
CIE-LCHlch(45.63, 32.79, 262.20°)
OKLaboklab(52.88% -0.0453 -0.0919)
OKLCHoklch(52.88% 0.102 243.8)
XYZxyz(13.5509, 14.9982, 36.3562)
Luminance0.1500 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E71A2 #A25F2E
analogous
#2EA299 #2E71A2 #2E37A2
triadic
#2E71A2 #A22E71 #71A22E
tetradic
#2E71A2 #992EA2 #A25F2E #37A22E
square
#2E71A2 #992EA2 #A25F2E #37A22E
split-complementary
#2E71A2 #A22E37 #A2992E
monochromatic
#132F43 #205072 #2E71A2 #4391CA #73ADD7

Accessibility & contrast

On white

5.25
#2E71A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#2E71A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E71A2
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E71A2#FFFFFF#000000##FFFFFF
##2E71A21.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e71a2;
/* rgb */ color: rgb(46, 113, 162);
/* oklch */ color: oklch(52.9% 0.102 243.8);
Tailwind
colors: {
  custom: {
    50: '#7599be',
    500: '#2e71a2',
    950: '#000000',
  },
}
SCSS
$custom: #2e71a2;
$custom-light: #7599be;
$custom-dark: #000000;
JSON
{
  "hex": "#2e71a2",
  "rgb": {
    "r": 46,
    "g": 113,
    "b": 162
  },
  "hsl": {
    "h": 205.345,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.52882,
    "c": 0.1024,
    "h": 243.8
  },
  "luminance": 0.15
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E71A2

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

Preview Lab → · Contrast checker → · Palette generator →

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