#2A71B3#2A71B3

#2A71B3 is a mid, vivid cyan. Relative luminance 0.156; OKLCH L 53.7% C 0.125 H 250.0°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#2A71B3
RGBrgb(42, 113, 179)
HSLhsl(209, 62%, 43%)
HSVhsv(209, 77%, 70%)
CMYKcmyk(76.5%, 36.9%, 0%, 29.8%)
CIE-LABlab(46.39, 1.26, -41.25)
CIE-LCHlch(46.39, 41.27, 271.75°)
OKLaboklab(53.73% -0.0427 -0.1175)
OKLCHoklch(53.73% 0.125 250)
XYZxyz(14.9936, 15.5554, 44.8514)
Luminance0.1556 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A71B3 #B36C2A
analogous
#2AB3B0 #2A71B3 #2A2CB3
triadic
#2A71B3 #B32A71 #71B32A
tetradic
#2A71B3 #B02AB3 #B36C2A #2CB32A
square
#2A71B3 #B02AB3 #B36C2A #2CB32A
split-complementary
#2A71B3 #B32A2C #B3B02A
monochromatic
#133250 #1E5281 #2A71B3 #4690D4 #78AEDF

Accessibility & contrast

On white

5.11
#2A71B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#2A71B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A71B3
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A71B3#FFFFFF#000000##FFFFFF
##2A71B31.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a71b3;
/* rgb */ color: rgb(42, 113, 179);
/* oklch */ color: oklch(53.7% 0.125 250.0);
Tailwind
colors: {
  custom: {
    50: '#7799ca',
    500: '#2a71b3',
    950: '#000000',
  },
}
SCSS
$custom: #2a71b3;
$custom-light: #7799ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2a71b3",
  "rgb": {
    "r": 42,
    "g": 113,
    "b": 179
  },
  "hsl": {
    "h": 208.905,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.53728,
    "c": 0.12499,
    "h": 250
  },
  "luminance": 0.15557
}

Semantic roles & 50–950 ramp

primary
#2A71B3
secondary
#C79B72
accent
#9143E5
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2A71B3

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

Preview Lab → · Contrast checker → · Palette generator →

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