#2D71AF#2D71AF

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

Color values

HEX#2D71AF
RGBrgb(45, 113, 175)
HSLhsl(209, 59%, 43%)
HSVhsv(209, 74%, 69%)
CMYKcmyk(74.3%, 35.4%, 0%, 31.4%)
CIE-LABlab(46.26, 0.16, -39.11)
CIE-LCHlch(46.26, 39.11, 270.24°)
OKLaboklab(53.58% -0.042 -0.1112)
OKLCHoklch(53.58% 0.119 249.3)
XYZxyz(14.7223, 15.4616, 42.7576)
Luminance0.1546 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D71AF #AF6B2D
analogous
#2DAFAC #2D71AF #2D30AF
triadic
#2D71AF #AF2D71 #71AF2D
tetradic
#2D71AF #AC2DAF #AF6B2D #30AF2D
square
#2D71AF #AC2DAF #AF6B2D #30AF2D
split-complementary
#2D71AF #AF2D30 #AFAC2D
monochromatic
#14324E #20527E #2D71AF #4990D0 #7AADDD

Accessibility & contrast

On white

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

On black

4.09
#2D71AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2D71AF#FFFFFF#000000##FFFFFF
##2D71AF1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.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: #2d71af;
/* rgb */ color: rgb(45, 113, 175);
/* oklch */ color: oklch(53.6% 0.119 249.3);
Tailwind
colors: {
  custom: {
    50: '#7799c7',
    500: '#2d71af',
    950: '#000000',
  },
}
SCSS
$custom: #2d71af;
$custom-light: #7799c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2d71af",
  "rgb": {
    "r": 45,
    "g": 113,
    "b": 175
  },
  "hsl": {
    "h": 208.615,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.53584,
    "c": 0.11886,
    "h": 249.3
  },
  "luminance": 0.15463
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D71AF

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

Preview Lab → · Contrast checker → · Palette generator →

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