#2D71B0#2D71B0

#2D71B0 is a mid, vivid cyan. Relative luminance 0.155; OKLCH L 53.6% C 0.120 H 249.7°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#2D71B0
RGBrgb(45, 113, 176)
HSLhsl(209, 59%, 43%)
HSVhsv(209, 74%, 69%)
CMYKcmyk(74.4%, 35.8%, 0%, 31%)
CIE-LABlab(46.31, 0.53, -39.61)
CIE-LCHlch(46.31, 39.62, 270.77°)
OKLaboklab(53.64% -0.0417 -0.1127)
OKLCHoklch(53.64% 0.12 249.7)
XYZxyz(14.8208, 15.5010, 43.2768)
Luminance0.1550 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D71B0 #B06C2D
analogous
#2DB0AD #2D71B0 #2D2FB0
triadic
#2D71B0 #B02D71 #71B02D
tetradic
#2D71B0 #AD2DB0 #B06C2D #2FB02D
square
#2D71B0 #AD2DB0 #B06C2D #2FB02D
split-complementary
#2D71B0 #B02D2F #B0AD2D
monochromatic
#14324F #21527F #2D71B0 #4A90D1 #7AAEDD

Accessibility & contrast

On white

5.12
#2D71B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#2D71B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D71B0
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D71B0#FFFFFF#000000##FFFFFF
##2D71B01.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5474B3
Deuteranopia (green-blind)
#4168AF
Tritanopia (blue-blind)
#008088
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2d71b0;
/* rgb */ color: rgb(45, 113, 176);
/* oklch */ color: oklch(53.6% 0.120 249.7);
Tailwind
colors: {
  custom: {
    50: '#7899c8',
    500: '#2d71b0',
    950: '#000000',
  },
}
SCSS
$custom: #2d71b0;
$custom-light: #7899c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d71b0",
  "rgb": {
    "r": 45,
    "g": 113,
    "b": 176
  },
  "hsl": {
    "h": 208.855,
    "s": 59.276,
    "l": 43.333
  },
  "oklch": {
    "l": 0.53643,
    "c": 0.12014,
    "h": 249.7
  },
  "luminance": 0.15503
}

Semantic roles & 50–950 ramp

primary
#2D71B0
secondary
#C59B73
accent
#9145E2
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2D71B0

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

Preview Lab → · Contrast checker → · Palette generator →

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