#2A71B1#2A71B1

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

Color values

HEX#2A71B1
RGBrgb(42, 113, 177)
HSLhsl(208, 62%, 43%)
HSVhsv(208, 76%, 69%)
CMYKcmyk(76.3%, 36.2%, 0%, 30.6%)
CIE-LABlab(46.28, 0.51, -40.26)
CIE-LCHlch(46.28, 40.26, 270.73°)
OKLaboklab(53.61% -0.0432 -0.1146)
OKLCHoklch(53.61% 0.122 249.3)
XYZxyz(14.7928, 15.4751, 43.7938)
Luminance0.1548 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A71B1 #B16A2A
analogous
#2AB1AD #2A71B1 #2A2EB1
triadic
#2A71B1 #B12A71 #71B12A
tetradic
#2A71B1 #AD2AB1 #B16A2A #2EB12A
square
#2A71B1 #AD2AB1 #B16A2A #2EB12A
split-complementary
#2A71B1 #B12A2E #B1AD2A
monochromatic
#13324E #1E5180 #2A71B1 #4590D3 #77ADDF

Accessibility & contrast

On white

5.13
#2A71B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2A71B1
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A71B1#FFFFFF#000000##FFFFFF
##2A71B11.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5374B4
Deuteranopia (green-blind)
#3F68B0
Tritanopia (blue-blind)
#008088
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2a71b1;
/* rgb */ color: rgb(42, 113, 177);
/* oklch */ color: oklch(53.6% 0.122 249.3);
Tailwind
colors: {
  custom: {
    50: '#7799c8',
    500: '#2a71b1',
    950: '#000000',
  },
}
SCSS
$custom: #2a71b1;
$custom-light: #7799c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a71b1",
  "rgb": {
    "r": 42,
    "g": 113,
    "b": 177
  },
  "hsl": {
    "h": 208.444,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.53608,
    "c": 0.12244,
    "h": 249.3
  },
  "luminance": 0.15477
}

Semantic roles & 50–950 ramp

primary
#2A71B1
secondary
#C69970
accent
#9043E5
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2A71B1

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

Preview Lab → · Contrast checker → · Palette generator →

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