#2D71C9#2D71C9

#2D71C9 is a mid, vivid cyan. Relative luminance 0.166; OKLCH L 55.2% C 0.153 H 256.4°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#2D71C9
RGBrgb(45, 113, 201)
HSLhsl(214, 63%, 48%)
HSVhsv(214, 78%, 79%)
CMYKcmyk(77.6%, 43.8%, 0%, 21.2%)
CIE-LABlab(47.73, 9.89, -51.80)
CIE-LCHlch(47.73, 52.74, 280.81°)
OKLaboklab(55.21% -0.0359 -0.1484)
OKLCHoklch(55.21% 0.153 256.4)
XYZxyz(17.5260, 16.5831, 57.5242)
Luminance0.1658 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D71C9 #C9852D
analogous
#2DBFC9 #2D71C9 #372DC9
triadic
#2D71C9 #C92D71 #71C92D
tetradic
#2D71C9 #C92DBF #C9852D #2DC937
square
#2D71C9 #C92DBF #C9852D #2DC937
split-complementary
#2D71C9 #C9372D #BFC92D
monochromatic
#173965 #225597 #2D71C9 #5991DA #8BB2E5

Accessibility & contrast

On white

4.86
#2D71C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#2D71C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D71C9
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D71C9#FFFFFF#000000##FFFFFF
##2D71C91.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4479CC
Deuteranopia (green-blind)
#256BC7
Tritanopia (blue-blind)
#008693
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2d71c9;
/* rgb */ color: rgb(45, 113, 201);
/* oklch */ color: oklch(55.2% 0.153 256.4);
Tailwind
colors: {
  custom: {
    50: '#7d99da',
    500: '#2d71c9',
    950: '#000000',
  },
}
SCSS
$custom: #2d71c9;
$custom-light: #7d99da;
$custom-dark: #000000;
JSON
{
  "hex": "#2d71c9",
  "rgb": {
    "r": 45,
    "g": 113,
    "b": 201
  },
  "hsl": {
    "h": 213.846,
    "s": 63.415,
    "l": 48.235
  },
  "oklch": {
    "l": 0.55208,
    "c": 0.15269,
    "h": 256.4
  },
  "luminance": 0.16585
}

Semantic roles & 50–950 ramp

primary
#2D71C9
secondary
#CFAE83
accent
#9E41E6
background
#F8F9FD
surface
#EFF2FB
border
#CACCD4
text
#0B0D15
muted
#7C7E83

Preview Lab

Preview with #2D71C9

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

Preview Lab → · Contrast checker → · Palette generator →

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