#2D71A4#2D71A4

#2D71A4 is a mid, moderate cyan. Relative luminance 0.150; OKLCH L 53.0% C 0.105 H 244.5°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#2D71A4
RGBrgb(45, 113, 164)
HSLhsl(206, 57%, 41%)
HSVhsv(206, 73%, 64%)
CMYKcmyk(72.6%, 31.1%, 0%, 35.7%)
CIE-LABlab(45.70, -3.88, -33.56)
CIE-LCHlch(45.70, 33.78, 263.41°)
OKLaboklab(52.96% -0.0452 -0.095)
OKLCHoklch(52.96% 0.105 244.5)
XYZxyz(13.6856, 15.0470, 37.2978)
Luminance0.1505 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D71A4 #A4602D
analogous
#2DA49B #2D71A4 #2D35A4
triadic
#2D71A4 #A42D71 #71A42D
tetradic
#2D71A4 #9B2DA4 #A4602D #35A42D
square
#2D71A4 #9B2DA4 #A4602D #35A42D
split-complementary
#2D71A4 #A42D35 #A49B2D
monochromatic
#132F44 #205074 #2D71A4 #4391CB #73ADD9

Accessibility & contrast

On white

5.24
#2D71A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#2D71A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D71A4
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D71A4#FFFFFF#000000##FFFFFF
##2D71A41.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A72A6
Deuteranopia (green-blind)
#4967A3
Tritanopia (blue-blind)
#007D83
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2d71a4;
/* rgb */ color: rgb(45, 113, 164);
/* oklch */ color: oklch(53.0% 0.105 244.5);
Tailwind
colors: {
  custom: {
    50: '#7599bf',
    500: '#2d71a4',
    950: '#000000',
  },
}
SCSS
$custom: #2d71a4;
$custom-light: #7599bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2d71a4",
  "rgb": {
    "r": 45,
    "g": 113,
    "b": 164
  },
  "hsl": {
    "h": 205.714,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.52958,
    "c": 0.10522,
    "h": 244.5
  },
  "luminance": 0.15048
}

Semantic roles & 50–950 ramp

primary
#2D71A4
secondary
#C0906D
accent
#8948E0
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#090D12
muted
#7B7E81

Preview Lab

Preview with #2D71A4

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

Preview Lab → · Contrast checker → · Palette generator →

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