#2A71A3#2A71A3

#2A71A3 is a mid, moderate cyan. Relative luminance 0.149; OKLCH L 52.8% C 0.105 H 243.3°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#2A71A3
RGBrgb(42, 113, 163)
HSLhsl(205, 59%, 40%)
HSVhsv(205, 74%, 64%)
CMYKcmyk(74.2%, 30.7%, 0%, 36.1%)
CIE-LABlab(45.56, -4.67, -33.20)
CIE-LCHlch(45.56, 33.53, 261.99°)
OKLaboklab(52.81% -0.0473 -0.094)
OKLCHoklch(52.81% 0.105 243.3)
XYZxyz(13.4683, 14.9453, 36.8181)
Luminance0.1495 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A71A3 #A35C2A
analogous
#2AA398 #2A71A3 #2A35A3
triadic
#2A71A3 #A32A71 #71A32A
tetradic
#2A71A3 #982AA3 #A35C2A #35A32A
square
#2A71A3 #982AA3 #A35C2A #35A32A
split-complementary
#2A71A3 #A32A35 #A3982A
monochromatic
#112E42 #1D4F72 #2A71A3 #3D92CD #6EADDA

Accessibility & contrast

On white

5.26
#2A71A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#2A71A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A71A3
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A71A3#FFFFFF#000000##FFFFFF
##2A71A31.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A72A5
Deuteranopia (green-blind)
#4967A2
Tritanopia (blue-blind)
#007D83
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2a71a3;
/* rgb */ color: rgb(42, 113, 163);
/* oklch */ color: oklch(52.8% 0.105 243.3);
Tailwind
colors: {
  custom: {
    50: '#7499be',
    500: '#2a71a3',
    950: '#000000',
  },
}
SCSS
$custom: #2a71a3;
$custom-light: #7499be;
$custom-dark: #000000;
JSON
{
  "hex": "#2a71a3",
  "rgb": {
    "r": 42,
    "g": 113,
    "b": 163
  },
  "hsl": {
    "h": 204.793,
    "s": 59.024,
    "l": 40.196
  },
  "oklch": {
    "l": 0.52807,
    "c": 0.10522,
    "h": 243.3
  },
  "luminance": 0.14947
}

Semantic roles & 50–950 ramp

primary
#2A71A3
secondary
#C08D68
accent
#8646E2
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#090D12
muted
#7B7E81

Preview Lab

Preview with #2A71A3

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

Preview Lab → · Contrast checker → · Palette generator →

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