#2A7AAD#2A7AAD

#2A7AAD is a mid, moderate cyan. Relative luminance 0.174; OKLCH L 55.5% C 0.110 H 241.1°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#2A7AAD
RGBrgb(42, 122, 173)
HSLhsl(203, 61%, 42%)
HSVhsv(203, 76%, 68%)
CMYKcmyk(75.7%, 29.5%, 0%, 32.2%)
CIE-LABlab(48.79, -6.38, -33.96)
CIE-LCHlch(48.79, 34.56, 259.36°)
OKLaboklab(55.53% -0.053 -0.0961)
OKLCHoklch(55.53% 0.11 241.1)
XYZxyz(15.4543, 17.4266, 42.0762)
Luminance0.1743 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7AAD #AD5D2A
analogous
#2AAD9F #2A7AAD #2A38AD
triadic
#2A7AAD #AD2A7A #7AAD2A
tetradic
#2A7AAD #9F2AAD #AD5D2A #38AD2A
square
#2A7AAD #9F2AAD #AD5D2A #38AD2A
split-complementary
#2A7AAD #AD2A38 #AD9F2A
monochromatic
#12354B #1E577C #2A7AAD #439AD1 #74B4DD

Accessibility & contrast

On white

4.68
#2A7AAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#2A7AAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7AAD
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7AAD#FFFFFF#000000##FFFFFF
##2A7AAD1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#627BAF
Deuteranopia (green-blind)
#506EAC
Tritanopia (blue-blind)
#00878C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2a7aad;
/* rgb */ color: rgb(42, 122, 173);
/* oklch */ color: oklch(55.5% 0.110 241.1);
Tailwind
colors: {
  custom: {
    50: '#76a0c5',
    500: '#2a7aad',
    950: '#000000',
  },
}
SCSS
$custom: #2a7aad;
$custom-light: #76a0c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7aad",
  "rgb": {
    "r": 42,
    "g": 122,
    "b": 173
  },
  "hsl": {
    "h": 203.359,
    "s": 60.93,
    "l": 42.157
  },
  "oklch": {
    "l": 0.55525,
    "c": 0.10972,
    "h": 241.1
  },
  "luminance": 0.17428
}

Semantic roles & 50–950 ramp

primary
#2A7AAD
secondary
#C5906E
accent
#8244E4
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2A7AAD

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

Preview Lab → · Contrast checker → · Palette generator →

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