#2A71A6#2A71A6

#2A71A6 is a mid, moderate cyan. Relative luminance 0.151; OKLCH L 53.0% C 0.109 H 244.8°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#2A71A6
RGBrgb(42, 113, 166)
HSLhsl(206, 60%, 41%)
HSVhsv(206, 75%, 65%)
CMYKcmyk(74.7%, 31.9%, 0%, 34.9%)
CIE-LABlab(45.71, -3.57, -34.73)
CIE-LCHlch(45.71, 34.91, 264.13°)
OKLaboklab(52.97% -0.0464 -0.0984)
OKLCHoklch(52.97% 0.109 244.8)
XYZxyz(13.7403, 15.0541, 38.2506)
Luminance0.1506 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A71A6 #A65F2A
analogous
#2AA69D #2A71A6 #2A33A6
triadic
#2A71A6 #A62A71 #71A62A
tetradic
#2A71A6 #9D2AA6 #A65F2A #33A62A
square
#2A71A6 #9D2AA6 #A65F2A #33A62A
split-complementary
#2A71A6 #A62A33 #A69D2A
monochromatic
#112F44 #1E5075 #2A71A6 #3F91CE #70ADDB

Accessibility & contrast

On white

5.24
#2A71A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#2A71A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A71A6
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A71A6#FFFFFF#000000##FFFFFF
##2A71A61.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5973A8
Deuteranopia (green-blind)
#4767A5
Tritanopia (blue-blind)
#007E84
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2a71a6;
/* rgb */ color: rgb(42, 113, 166);
/* oklch */ color: oklch(53.0% 0.109 244.8);
Tailwind
colors: {
  custom: {
    50: '#7599c0',
    500: '#2a71a6',
    950: '#000000',
  },
}
SCSS
$custom: #2a71a6;
$custom-light: #7599c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2a71a6",
  "rgb": {
    "r": 42,
    "g": 113,
    "b": 166
  },
  "hsl": {
    "h": 205.645,
    "s": 59.615,
    "l": 40.784
  },
  "oklch": {
    "l": 0.52973,
    "c": 0.10881,
    "h": 244.8
  },
  "luminance": 0.15056
}

Semantic roles & 50–950 ramp

primary
#2A71A6
secondary
#C2906A
accent
#8845E3
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#090D12
muted
#7B7E81

Preview Lab

Preview with #2A71A6

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

Preview Lab → · Contrast checker → · Palette generator →

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