#2C71D1#2C71D1

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

Color values

HEX#2C71D1
RGBrgb(44, 113, 209)
HSLhsl(215, 65%, 50%)
HSVhsv(215, 79%, 82%)
CMYKcmyk(78.9%, 45.9%, 0%, 18%)
CIE-LABlab(48.19, 12.80, -55.63)
CIE-LCHlch(48.19, 57.09, 282.96°)
OKLaboklab(55.72% -0.035 -0.1597)
OKLCHoklch(55.72% 0.163 257.7)
XYZxyz(18.4482, 16.9470, 62.6080)
Luminance0.1695 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C71D1 #D18C2C
analogous
#2CC4D1 #2C71D1 #3A2CD1
triadic
#2C71D1 #D12C71 #71D12C
tetradic
#2C71D1 #D12CC4 #D18C2C #2CD13A
square
#2C71D1 #D12CC4 #D18C2C #2CD13A
split-complementary
#2C71D1 #D13A2C #C4D12C
monochromatic
#173A6C #21569E #2C71D1 #5D93DD #90B5E8

Accessibility & contrast

On white

4.78
#2C71D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#2C71D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C71D1
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C71D1#FFFFFF#000000##FFFFFF
##2C71D11.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D7AD5
Deuteranopia (green-blind)
#126BCF
Tritanopia (blue-blind)
#008897
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2c71d1;
/* rgb */ color: rgb(44, 113, 209);
/* oklch */ color: oklch(55.7% 0.163 257.7);
Tailwind
colors: {
  custom: {
    50: '#7e99e0',
    500: '#2c71d1',
    950: '#000000',
  },
}
SCSS
$custom: #2c71d1;
$custom-light: #7e99e0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c71d1",
  "rgb": {
    "r": 44,
    "g": 113,
    "b": 209
  },
  "hsl": {
    "h": 214.909,
    "s": 65.217,
    "l": 49.608
  },
  "oklch": {
    "l": 0.55716,
    "c": 0.16348,
    "h": 257.7
  },
  "luminance": 0.16949
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C71D1

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

Preview Lab → · Contrast checker → · Palette generator →

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