#2E71AA#2E71AA

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

Color values

HEX#2E71AA
RGBrgb(46, 113, 170)
HSLhsl(208, 57%, 42%)
HSVhsv(208, 73%, 67%)
CMYKcmyk(72.9%, 33.5%, 0%, 33.3%)
CIE-LABlab(46.03, -1.54, -36.55)
CIE-LCHlch(46.03, 36.59, 267.59°)
OKLaboklab(53.33% -0.0428 -0.1037)
OKLCHoklch(53.33% 0.112 247.6)
XYZxyz(14.2848, 15.2918, 40.2212)
Luminance0.1529 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E71AA #AA672E
analogous
#2EAAA5 #2E71AA #2E33AA
triadic
#2E71AA #AA2E71 #71AA2E
tetradic
#2E71AA #A52EAA #AA672E #33AA2E
square
#2E71AA #A52EAA #AA672E #33AA2E
split-complementary
#2E71AA #AA2E33 #AAA52E
monochromatic
#14314A #21517A #2E71AA #4890CD #78ADDA

Accessibility & contrast

On white

5.17
#2E71AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#2E71AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E71AA
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E71AA#FFFFFF#000000##FFFFFF
##2E71AA1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5773AC
Deuteranopia (green-blind)
#4668A9
Tritanopia (blue-blind)
#007F85
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2e71aa;
/* rgb */ color: rgb(46, 113, 170);
/* oklch */ color: oklch(53.3% 0.112 247.6);
Tailwind
colors: {
  custom: {
    50: '#7799c3',
    500: '#2e71aa',
    950: '#000000',
  },
}
SCSS
$custom: #2e71aa;
$custom-light: #7799c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e71aa",
  "rgb": {
    "r": 46,
    "g": 113,
    "b": 170
  },
  "hsl": {
    "h": 207.581,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.53328,
    "c": 0.11219,
    "h": 247.6
  },
  "luminance": 0.15293
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E71AA

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

Preview Lab → · Contrast checker → · Palette generator →

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