#2E71A9#2E71A9

#2E71A9 is a mid, moderate cyan. Relative luminance 0.153; OKLCH L 53.3% C 0.111 H 247.1°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#2E71A9
RGBrgb(46, 113, 169)
HSLhsl(207, 57%, 42%)
HSVhsv(207, 73%, 66%)
CMYKcmyk(72.8%, 33.1%, 0%, 33.7%)
CIE-LABlab(45.98, -1.91, -36.05)
CIE-LCHlch(45.98, 36.10, 266.97°)
OKLaboklab(53.27% -0.0431 -0.1022)
OKLCHoklch(53.27% 0.111 247.1)
XYZxyz(14.1906, 15.2541, 39.7249)
Luminance0.1526 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E71A9 #A9662E
analogous
#2EA9A4 #2E71A9 #2E34A9
triadic
#2E71A9 #A92E71 #71A92E
tetradic
#2E71A9 #A42EA9 #A9662E #34A92E
square
#2E71A9 #A42EA9 #A9662E #34A92E
split-complementary
#2E71A9 #A92E34 #A9A42E
monochromatic
#143149 #215179 #2E71A9 #4790CD #77ADDA

Accessibility & contrast

On white

5.18
#2E71A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#2E71A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E71A9
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E71A9#FFFFFF#000000##FFFFFF
##2E71A91.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5873AB
Deuteranopia (green-blind)
#4668A8
Tritanopia (blue-blind)
#007E85
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2e71a9;
/* rgb */ color: rgb(46, 113, 169);
/* oklch */ color: oklch(53.3% 0.111 247.1);
Tailwind
colors: {
  custom: {
    50: '#7799c3',
    500: '#2e71a9',
    950: '#000000',
  },
}
SCSS
$custom: #2e71a9;
$custom-light: #7799c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e71a9",
  "rgb": {
    "r": 46,
    "g": 113,
    "b": 169
  },
  "hsl": {
    "h": 207.317,
    "s": 57.209,
    "l": 42.157
  },
  "oklch": {
    "l": 0.53271,
    "c": 0.11094,
    "h": 247.1
  },
  "luminance": 0.15256
}

Semantic roles & 50–950 ramp

primary
#2E71A9
secondary
#C29671
accent
#8D47E0
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #2E71A9

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

Preview Lab → · Contrast checker → · Palette generator →

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