#2D71C8#2D71C8

#2D71C8 is a mid, vivid cyan. Relative luminance 0.165; OKLCH L 55.1% C 0.151 H 256.2°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#2D71C8
RGBrgb(45, 113, 200)
HSLhsl(214, 63%, 48%)
HSVhsv(214, 78%, 78%)
CMYKcmyk(77.5%, 43.5%, 0%, 21.6%)
CIE-LABlab(47.67, 9.51, -51.32)
CIE-LCHlch(47.67, 52.20, 280.50°)
OKLaboklab(55.14% -0.0361 -0.147)
OKLCHoklch(55.14% 0.151 256.2)
XYZxyz(17.4088, 16.5362, 56.9067)
Luminance0.1654 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D71C8 #C8842D
analogous
#2DBEC8 #2D71C8 #362DC8
triadic
#2D71C8 #C82D71 #71C82D
tetradic
#2D71C8 #C82DBE #C8842D #2DC836
square
#2D71C8 #C82DBE #C8842D #2DC836
split-complementary
#2D71C8 #C8362D #BEC82D
monochromatic
#173964 #225596 #2D71C8 #5991DA #8BB2E5

Accessibility & contrast

On white

4.88
#2D71C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#2D71C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D71C8
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D71C8#FFFFFF#000000##FFFFFF
##2D71C81.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4579CB
Deuteranopia (green-blind)
#276BC6
Tritanopia (blue-blind)
#008693
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2d71c8;
/* rgb */ color: rgb(45, 113, 200);
/* oklch */ color: oklch(55.1% 0.151 256.2);
Tailwind
colors: {
  custom: {
    50: '#7c99d9',
    500: '#2d71c8',
    950: '#000000',
  },
}
SCSS
$custom: #2d71c8;
$custom-light: #7c99d9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d71c8",
  "rgb": {
    "r": 45,
    "g": 113,
    "b": 200
  },
  "hsl": {
    "h": 213.677,
    "s": 63.265,
    "l": 48.039
  },
  "oklch": {
    "l": 0.55142,
    "c": 0.15138,
    "h": 256.2
  },
  "luminance": 0.16538
}

Semantic roles & 50–950 ramp

primary
#2D71C8
secondary
#CFAD82
accent
#9E41E6
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D15
muted
#7C7E83

Preview Lab

Preview with #2D71C8

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

Preview Lab → · Contrast checker → · Palette generator →

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