#2D71D0#2D71D0

#2D71D0 is a mid, vivid cyan. Relative luminance 0.169; OKLCH L 55.7% C 0.162 H 257.7°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#2D71D0
RGBrgb(45, 113, 208)
HSLhsl(215, 64%, 50%)
HSVhsv(215, 78%, 82%)
CMYKcmyk(78.4%, 45.7%, 0%, 18.4%)
CIE-LABlab(48.16, 12.53, -55.12)
CIE-LCHlch(48.16, 56.52, 282.81°)
OKLaboklab(55.68% -0.0346 -0.1582)
OKLCHoklch(55.68% 0.162 257.7)
XYZxyz(18.3683, 16.9200, 61.9601)
Luminance0.1692 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D71D0 #D08C2D
analogous
#2DC3D0 #2D71D0 #3A2DD0
triadic
#2D71D0 #D02D71 #71D02D
tetradic
#2D71D0 #D02DC3 #D08C2D #2DD03A
square
#2D71D0 #D02DC3 #D08C2D #2DD03A
split-complementary
#2D71D0 #D03A2D #C3D02D
monochromatic
#173A6B #22569E #2D71D0 #5E93DC #90B5E7

Accessibility & contrast

On white

4.79
#2D71D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#2D71D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D71D0
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D71D0#FFFFFF#000000##FFFFFF
##2D71D01.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E7AD4
Deuteranopia (green-blind)
#166BCE
Tritanopia (blue-blind)
#008896
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2d71d0;
/* rgb */ color: rgb(45, 113, 208);
/* oklch */ color: oklch(55.7% 0.162 257.7);
Tailwind
colors: {
  custom: {
    50: '#7e99df',
    500: '#2d71d0',
    950: '#000000',
  },
}
SCSS
$custom: #2d71d0;
$custom-light: #7e99df;
$custom-dark: #000000;
JSON
{
  "hex": "#2d71d0",
  "rgb": {
    "r": 45,
    "g": 113,
    "b": 208
  },
  "hsl": {
    "h": 214.969,
    "s": 64.427,
    "l": 49.608
  },
  "oklch": {
    "l": 0.55678,
    "c": 0.1619,
    "h": 257.7
  },
  "luminance": 0.16922
}

Semantic roles & 50–950 ramp

primary
#2D71D0
secondary
#D2B387
accent
#A240E7
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #2D71D0

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

Preview Lab → · Contrast checker → · Palette generator →

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