#2E71AB#2E71AB

#2E71AB is a mid, moderate cyan. Relative luminance 0.153; OKLCH L 53.4% C 0.113 H 248.0°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#2E71AB
RGBrgb(46, 113, 171)
HSLhsl(208, 58%, 43%)
HSVhsv(208, 73%, 67%)
CMYKcmyk(73.1%, 33.9%, 0%, 32.9%)
CIE-LABlab(46.08, -1.17, -37.06)
CIE-LCHlch(46.08, 37.08, 268.19°)
OKLaboklab(53.39% -0.0425 -0.1052)
OKLCHoklch(53.39% 0.113 248)
XYZxyz(14.3797, 15.3298, 40.7213)
Luminance0.1533 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E71AB #AB682E
analogous
#2EABA7 #2E71AB #2E32AB
triadic
#2E71AB #AB2E71 #71AB2E
tetradic
#2E71AB #A72EAB #AB682E #32AB2E
square
#2E71AB #A72EAB #AB682E #32AB2E
split-complementary
#2E71AB #AB2E32 #ABA72E
monochromatic
#14314B #21517B #2E71AB #4890CE #79ADDB

Accessibility & contrast

On white

5.16
#2E71AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#2E71AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E71AB
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E71AB#FFFFFF#000000##FFFFFF
##2E71AB1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5774AD
Deuteranopia (green-blind)
#4568AA
Tritanopia (blue-blind)
#007F86
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2e71ab;
/* rgb */ color: rgb(46, 113, 171);
/* oklch */ color: oklch(53.4% 0.113 248.0);
Tailwind
colors: {
  custom: {
    50: '#7799c4',
    500: '#2e71ab',
    950: '#000000',
  },
}
SCSS
$custom: #2e71ab;
$custom-light: #7799c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e71ab",
  "rgb": {
    "r": 46,
    "g": 113,
    "b": 171
  },
  "hsl": {
    "h": 207.84,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.53386,
    "c": 0.11344,
    "h": 248
  },
  "luminance": 0.15331
}

Semantic roles & 50–950 ramp

primary
#2E71AB
secondary
#C39772
accent
#8E47E1
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #2E71AB

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

Preview Lab → · Contrast checker → · Palette generator →

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