#2A71A5#2A71A5

#2A71A5 is a mid, moderate cyan. Relative luminance 0.150; OKLCH L 52.9% C 0.108 H 244.3°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#2A71A5
RGBrgb(42, 113, 165)
HSLhsl(205, 59%, 41%)
HSVhsv(205, 75%, 65%)
CMYKcmyk(74.5%, 31.5%, 0%, 35.3%)
CIE-LABlab(45.66, -3.94, -34.22)
CIE-LCHlch(45.66, 34.44, 263.44°)
OKLaboklab(52.92% -0.0467 -0.0969)
OKLCHoklch(52.92% 0.108 244.3)
XYZxyz(13.6489, 15.0175, 37.7694)
Luminance0.1502 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A71A5 #A55E2A
analogous
#2AA59B #2A71A5 #2A33A5
triadic
#2A71A5 #A52A71 #71A52A
tetradic
#2A71A5 #9B2AA5 #A55E2A #33A52A
square
#2A71A5 #9B2AA5 #A55E2A #33A52A
split-complementary
#2A71A5 #A52A33 #A59B2A
monochromatic
#112E43 #1E5074 #2A71A5 #3E91CE #6FADDA

Accessibility & contrast

On white

5.25
#2A71A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#2A71A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A71A5
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A71A5#FFFFFF#000000##FFFFFF
##2A71A51.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5972A7
Deuteranopia (green-blind)
#4867A4
Tritanopia (blue-blind)
#007E83
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2a71a5;
/* rgb */ color: rgb(42, 113, 165);
/* oklch */ color: oklch(52.9% 0.108 244.3);
Tailwind
colors: {
  custom: {
    50: '#7499c0',
    500: '#2a71a5',
    950: '#000000',
  },
}
SCSS
$custom: #2a71a5;
$custom-light: #7499c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2a71a5",
  "rgb": {
    "r": 42,
    "g": 113,
    "b": 165
  },
  "hsl": {
    "h": 205.366,
    "s": 59.42,
    "l": 40.588
  },
  "oklch": {
    "l": 0.52917,
    "c": 0.1076,
    "h": 244.3
  },
  "luminance": 0.15019
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A71A5

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

Preview Lab → · Contrast checker → · Palette generator →

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