#2A71A9#2A71A9

#2A71A9 is a mid, moderate cyan. Relative luminance 0.152; OKLCH L 53.1% C 0.112 H 246.1°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#2A71A9
RGBrgb(42, 113, 169)
HSLhsl(206, 60%, 41%)
HSVhsv(206, 75%, 66%)
CMYKcmyk(75.1%, 33.1%, 0%, 33.7%)
CIE-LABlab(45.86, -2.46, -36.25)
CIE-LCHlch(45.86, 36.33, 266.11°)
OKLaboklab(53.14% -0.0455 -0.1028)
OKLCHoklch(53.14% 0.112 246.1)
XYZxyz(14.0187, 15.1655, 39.7168)
Luminance0.1517 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A71A9 #A9622A
analogous
#2AA9A2 #2A71A9 #2A31A9
triadic
#2A71A9 #A92A71 #71A92A
tetradic
#2A71A9 #A22AA9 #A9622A #31A92A
square
#2A71A9 #A22AA9 #A9622A #31A92A
split-complementary
#2A71A9 #A92A31 #A9A22A
monochromatic
#122F47 #1E5078 #2A71A9 #4191D0 #72ADDC

Accessibility & contrast

On white

5.21
#2A71A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#2A71A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A71A9
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A71A9#FFFFFF#000000##FFFFFF
##2A71A91.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5773AB
Deuteranopia (green-blind)
#4567A8
Tritanopia (blue-blind)
#007F85
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2a71a9;
/* rgb */ color: rgb(42, 113, 169);
/* oklch */ color: oklch(53.1% 0.112 246.1);
Tailwind
colors: {
  custom: {
    50: '#7599c3',
    500: '#2a71a9',
    950: '#000000',
  },
}
SCSS
$custom: #2a71a9;
$custom-light: #7599c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a71a9",
  "rgb": {
    "r": 42,
    "g": 113,
    "b": 169
  },
  "hsl": {
    "h": 206.457,
    "s": 60.19,
    "l": 41.373
  },
  "oklch": {
    "l": 0.53143,
    "c": 0.11246,
    "h": 246.1
  },
  "luminance": 0.15167
}

Semantic roles & 50–950 ramp

primary
#2A71A9
secondary
#C3926C
accent
#8B44E3
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #2A71A9

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

Preview Lab → · Contrast checker → · Palette generator →

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