#2D71AE#2D71AE

#2D71AE is a mid, moderate cyan. Relative luminance 0.154; OKLCH L 53.5% C 0.118 H 248.9°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#2D71AE
RGBrgb(45, 113, 174)
HSLhsl(208, 59%, 43%)
HSVhsv(208, 74%, 68%)
CMYKcmyk(74.1%, 35.1%, 0%, 31.8%)
CIE-LABlab(46.21, -0.21, -38.61)
CIE-LCHlch(46.21, 38.61, 269.69°)
OKLaboklab(53.53% -0.0423 -0.1097)
OKLCHoklch(53.53% 0.118 248.9)
XYZxyz(14.6244, 15.4225, 42.2423)
Luminance0.1542 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D71AE #AE6A2D
analogous
#2DAEAA #2D71AE #2D31AE
triadic
#2D71AE #AE2D71 #71AE2D
tetradic
#2D71AE #AA2DAE #AE6A2D #31AE2D
square
#2D71AE #AA2DAE #AE6A2D #31AE2D
split-complementary
#2D71AE #AE2D31 #AEAA2D
monochromatic
#14324D #20517D #2D71AE #4890D0 #79ADDC

Accessibility & contrast

On white

5.14
#2D71AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#2D71AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D71AE
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D71AE#FFFFFF#000000##FFFFFF
##2D71AE1.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5574B1
Deuteranopia (green-blind)
#4268AD
Tritanopia (blue-blind)
#008087
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2d71ae;
/* rgb */ color: rgb(45, 113, 174);
/* oklch */ color: oklch(53.5% 0.118 248.9);
Tailwind
colors: {
  custom: {
    50: '#7799c6',
    500: '#2d71ae',
    950: '#000000',
  },
}
SCSS
$custom: #2d71ae;
$custom-light: #7799c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2d71ae",
  "rgb": {
    "r": 45,
    "g": 113,
    "b": 174
  },
  "hsl": {
    "h": 208.372,
    "s": 58.904,
    "l": 42.941
  },
  "oklch": {
    "l": 0.53526,
    "c": 0.11759,
    "h": 248.9
  },
  "luminance": 0.15424
}

Semantic roles & 50–950 ramp

primary
#2D71AE
secondary
#C49972
accent
#9046E2
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2D71AE

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

Preview Lab → · Contrast checker → · Palette generator →

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