#2E71AF#2E71AF

#2E71AF is a mid, moderate cyan. Relative luminance 0.155; OKLCH L 53.6% C 0.118 H 249.6°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#2E71AF
RGBrgb(46, 113, 175)
HSLhsl(209, 58%, 43%)
HSVhsv(209, 74%, 69%)
CMYKcmyk(73.7%, 35.4%, 0%, 31.4%)
CIE-LABlab(46.29, 0.30, -39.06)
CIE-LCHlch(46.29, 39.06, 270.44°)
OKLaboklab(53.62% -0.0414 -0.111)
OKLCHoklch(53.62% 0.119 249.6)
XYZxyz(14.7668, 15.4846, 42.7597)
Luminance0.1549 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E71AF #AF6C2E
analogous
#2EAFAC #2E71AF #2E31AF
triadic
#2E71AF #AF2E71 #71AF2E
tetradic
#2E71AF #AC2EAF #AF6C2E #31AF2E
square
#2E71AF #AC2EAF #AF6C2E #31AF2E
split-complementary
#2E71AF #AF2E31 #AFAC2E
monochromatic
#15324E #21527F #2E71AF #4B90D0 #7BAEDC

Accessibility & contrast

On white

5.13
#2E71AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#2E71AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E71AF
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E71AF#FFFFFF#000000##FFFFFF
##2E71AF1.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5574B2
Deuteranopia (green-blind)
#4268AE
Tritanopia (blue-blind)
#008088
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2e71af;
/* rgb */ color: rgb(46, 113, 175);
/* oklch */ color: oklch(53.6% 0.118 249.6);
Tailwind
colors: {
  custom: {
    50: '#7899c7',
    500: '#2e71af',
    950: '#000000',
  },
}
SCSS
$custom: #2e71af;
$custom-light: #7899c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e71af",
  "rgb": {
    "r": 46,
    "g": 113,
    "b": 175
  },
  "hsl": {
    "h": 208.837,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.53617,
    "c": 0.1185,
    "h": 249.6
  },
  "luminance": 0.15486
}

Semantic roles & 50–950 ramp

primary
#2E71AF
secondary
#C59B74
accent
#9146E2
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2E71AF

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

Preview Lab → · Contrast checker → · Palette generator →

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