#2A71A7#2A71A7

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

Color values

HEX#2A71A7
RGBrgb(42, 113, 167)
HSLhsl(206, 60%, 41%)
HSVhsv(206, 75%, 65%)
CMYKcmyk(74.9%, 32.3%, 0%, 34.5%)
CIE-LABlab(45.76, -3.20, -35.23)
CIE-LCHlch(45.76, 35.38, 264.81°)
OKLaboklab(53.03% -0.0461 -0.0999)
OKLCHoklch(53.03% 0.11 245.2)
XYZxyz(13.8323, 15.0909, 38.7356)
Luminance0.1509 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A71A7 #A7602A
analogous
#2AA79E #2A71A7 #2A32A7
triadic
#2A71A7 #A72A71 #71A72A
tetradic
#2A71A7 #9E2AA7 #A7602A #32A72A
square
#2A71A7 #9E2AA7 #A7602A #32A72A
split-complementary
#2A71A7 #A72A32 #A79E2A
monochromatic
#112F45 #1E5076 #2A71A7 #3F91CF #70ADDB

Accessibility & contrast

On white

5.23
#2A71A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#2A71A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A71A7
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A71A7#FFFFFF#000000##FFFFFF
##2A71A71.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5873A9
Deuteranopia (green-blind)
#4767A6
Tritanopia (blue-blind)
#007E84
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2a71a7;
/* rgb */ color: rgb(42, 113, 167);
/* oklch */ color: oklch(53.0% 0.110 245.2);
Tailwind
colors: {
  custom: {
    50: '#7599c1',
    500: '#2a71a7',
    950: '#000000',
  },
}
SCSS
$custom: #2a71a7;
$custom-light: #7599c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a71a7",
  "rgb": {
    "r": 42,
    "g": 113,
    "b": 167
  },
  "hsl": {
    "h": 205.92,
    "s": 59.809,
    "l": 40.98
  },
  "oklch": {
    "l": 0.53029,
    "c": 0.11002,
    "h": 245.2
  },
  "luminance": 0.15093
}

Semantic roles & 50–950 ramp

primary
#2A71A7
secondary
#C2906B
accent
#8945E3
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#090D12
muted
#7B7E81

Preview Lab

Preview with #2A71A7

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

Preview Lab → · Contrast checker → · Palette generator →

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