#2A71AA#2A71AA

#2A71AA is a mid, moderate cyan. Relative luminance 0.152; OKLCH L 53.2% C 0.114 H 246.6°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#2A71AA
RGBrgb(42, 113, 170)
HSLhsl(207, 60%, 42%)
HSVhsv(207, 75%, 67%)
CMYKcmyk(75.3%, 33.5%, 0%, 33.3%)
CIE-LABlab(45.91, -2.09, -36.75)
CIE-LCHlch(45.91, 36.81, 266.74°)
OKLaboklab(53.2% -0.0452 -0.1043)
OKLCHoklch(53.2% 0.114 246.6)
XYZxyz(14.1129, 15.2031, 40.2131)
Luminance0.1520 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A71AA #AA632A
analogous
#2AAAA3 #2A71AA #2A31AA
triadic
#2A71AA #AA2A71 #71AA2A
tetradic
#2A71AA #A32AAA #AA632A #31AA2A
square
#2A71AA #A32AAA #AA632A #31AA2A
split-complementary
#2A71AA #AA2A31 #AAA32A
monochromatic
#123048 #1E5079 #2A71AA #4190D0 #72ADDC

Accessibility & contrast

On white

5.20
#2A71AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#2A71AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A71AA
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A71AA#FFFFFF#000000##FFFFFF
##2A71AA1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a71aa;
/* rgb */ color: rgb(42, 113, 170);
/* oklch */ color: oklch(53.2% 0.114 246.6);
Tailwind
colors: {
  custom: {
    50: '#7599c3',
    500: '#2a71aa',
    950: '#000000',
  },
}
SCSS
$custom: #2a71aa;
$custom-light: #7599c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a71aa",
  "rgb": {
    "r": 42,
    "g": 113,
    "b": 170
  },
  "hsl": {
    "h": 206.719,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.532,
    "c": 0.11368,
    "h": 246.6
  },
  "luminance": 0.15205
}

Semantic roles & 50–950 ramp

primary
#2A71AA
secondary
#C3936C
accent
#8B44E4
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #2A71AA

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

Preview Lab → · Contrast checker → · Palette generator →

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