#2A7AB4#2A7AB4

#2A7AB4 is a mid, moderate cyan. Relative luminance 0.177; OKLCH L 55.9% C 0.118 H 244.5°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#2A7AB4
RGBrgb(42, 122, 180)
HSLhsl(205, 62%, 44%)
HSVhsv(205, 77%, 71%)
CMYKcmyk(76.7%, 32.2%, 0%, 29.4%)
CIE-LABlab(49.14, -3.82, -37.48)
CIE-LCHlch(49.14, 37.68, 264.17°)
OKLaboklab(55.91% -0.0508 -0.1063)
OKLCHoklch(55.91% 0.118 244.5)
XYZxyz(16.1494, 17.7047, 45.7374)
Luminance0.1771 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7AB4 #B4642A
analogous
#2AB4A9 #2A7AB4 #2A35B4
triadic
#2A7AB4 #B42A7A #7AB42A
tetradic
#2A7AB4 #A92AB4 #B4642A #35B42A
square
#2A7AB4 #A92AB4 #B4642A #35B42A
split-complementary
#2A7AB4 #B42A35 #B4A92A
monochromatic
#133751 #1E5882 #2A7AB4 #4799D4 #79B4E0

Accessibility & contrast

On white

4.62
#2A7AB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#2A7AB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7AB4
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7AB4#FFFFFF#000000##FFFFFF
##2A7AB41.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F7CB7
Deuteranopia (green-blind)
#4C6FB3
Tritanopia (blue-blind)
#00888F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2a7ab4;
/* rgb */ color: rgb(42, 122, 180);
/* oklch */ color: oklch(55.9% 0.118 244.5);
Tailwind
colors: {
  custom: {
    50: '#77a0ca',
    500: '#2a7ab4',
    950: '#000000',
  },
}
SCSS
$custom: #2a7ab4;
$custom-light: #77a0ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7ab4",
  "rgb": {
    "r": 42,
    "g": 122,
    "b": 180
  },
  "hsl": {
    "h": 205.217,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.55909,
    "c": 0.11782,
    "h": 244.5
  },
  "luminance": 0.17707
}

Semantic roles & 50–950 ramp

primary
#2A7AB4
secondary
#C89672
accent
#8743E5
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2A7AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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