#2E71A8#2E71A8

#2E71A8 is a mid, moderate cyan. Relative luminance 0.152; OKLCH L 53.2% C 0.110 H 246.7°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#2E71A8
RGBrgb(46, 113, 168)
HSLhsl(207, 57%, 42%)
HSVhsv(207, 73%, 66%)
CMYKcmyk(72.6%, 32.7%, 0%, 34.1%)
CIE-LABlab(45.93, -2.27, -35.54)
CIE-LCHlch(45.93, 35.61, 266.34°)
OKLaboklab(53.22% -0.0434 -0.1008)
OKLCHoklch(53.22% 0.11 246.7)
XYZxyz(14.0970, 15.2167, 39.2324)
Luminance0.1522 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E71A8 #A8652E
analogous
#2EA8A2 #2E71A8 #2E34A8
triadic
#2E71A8 #A82E71 #71A82E
tetradic
#2E71A8 #A22EA8 #A8652E #34A82E
square
#2E71A8 #A22EA8 #A8652E #34A82E
split-complementary
#2E71A8 #A82E34 #A8A22E
monochromatic
#143048 #215178 #2E71A8 #4790CD #77ADDA

Accessibility & contrast

On white

5.19
#2E71A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#2E71A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E71A8
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E71A8#FFFFFF#000000##FFFFFF
##2E71A81.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5873AA
Deuteranopia (green-blind)
#4768A7
Tritanopia (blue-blind)
#007E85
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2e71a8;
/* rgb */ color: rgb(46, 113, 168);
/* oklch */ color: oklch(53.2% 0.110 246.7);
Tailwind
colors: {
  custom: {
    50: '#7699c2',
    500: '#2e71a8',
    950: '#000000',
  },
}
SCSS
$custom: #2e71a8;
$custom-light: #7699c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e71a8",
  "rgb": {
    "r": 46,
    "g": 113,
    "b": 168
  },
  "hsl": {
    "h": 207.049,
    "s": 57.009,
    "l": 41.961
  },
  "oklch": {
    "l": 0.53215,
    "c": 0.1097,
    "h": 246.7
  },
  "luminance": 0.15218
}

Semantic roles & 50–950 ramp

primary
#2E71A8
secondary
#C29570
accent
#8C48E0
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #2E71A8

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

Preview Lab → · Contrast checker → · Palette generator →

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