#2D71B3#2D71B3

#2D71B3 is a mid, vivid cyan. Relative luminance 0.156; OKLCH L 53.8% C 0.124 H 250.7°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#2D71B3
RGBrgb(45, 113, 179)
HSLhsl(210, 60%, 44%)
HSVhsv(210, 75%, 70%)
CMYKcmyk(74.9%, 36.9%, 0%, 29.8%)
CIE-LABlab(46.47, 1.64, -41.10)
CIE-LCHlch(46.47, 41.14, 272.29°)
OKLaboklab(53.82% -0.0409 -0.117)
OKLCHoklch(53.82% 0.124 250.7)
XYZxyz(15.1209, 15.6211, 44.8573)
Luminance0.1562 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D71B3 #B36F2D
analogous
#2DB3B2 #2D71B3 #2D2EB3
triadic
#2D71B3 #B32D71 #71B32D
tetradic
#2D71B3 #B22DB3 #B36F2D #2EB32D
square
#2D71B3 #B22DB3 #B36F2D #2EB32D
split-complementary
#2D71B3 #B32D2E #B3B22D
monochromatic
#143351 #215282 #2D71B3 #4B90D2 #7CAEDE

Accessibility & contrast

On white

5.09
#2D71B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#2D71B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D71B3
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D71B3#FFFFFF#000000##FFFFFF
##2D71B31.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5375B6
Deuteranopia (green-blind)
#3F68B2
Tritanopia (blue-blind)
#008189
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2d71b3;
/* rgb */ color: rgb(45, 113, 179);
/* oklch */ color: oklch(53.8% 0.124 250.7);
Tailwind
colors: {
  custom: {
    50: '#7899ca',
    500: '#2d71b3',
    950: '#000000',
  },
}
SCSS
$custom: #2d71b3;
$custom-light: #7899ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2d71b3",
  "rgb": {
    "r": 45,
    "g": 113,
    "b": 179
  },
  "hsl": {
    "h": 209.552,
    "s": 59.821,
    "l": 43.922
  },
  "oklch": {
    "l": 0.53821,
    "c": 0.12396,
    "h": 250.7
  },
  "luminance": 0.15623
}

Semantic roles & 50–950 ramp

primary
#2D71B3
secondary
#C79D75
accent
#9345E3
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2D71B3

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

Preview Lab → · Contrast checker → · Palette generator →

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