#2A7EAB#2A7EAB

#2A7EAB is a mid, moderate cyan. Relative luminance 0.184; OKLCH L 56.4% C 0.105 H 236.7°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#2A7EAB
RGBrgb(42, 126, 171)
HSLhsl(201, 61%, 42%)
HSVhsv(201, 75%, 67%)
CMYKcmyk(75.4%, 26.3%, 0%, 32.9%)
CIE-LABlab(49.92, -9.43, -31.04)
CIE-LCHlch(49.92, 32.44, 253.10°)
OKLaboklab(56.39% -0.0575 -0.0875)
OKLCHoklch(56.39% 0.105 236.7)
XYZxyz(15.7635, 18.3524, 41.2318)
Luminance0.1835 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7EAB #AB572A
analogous
#2AAB98 #2A7EAB #2A3EAB
triadic
#2A7EAB #AB2A7E #7EAB2A
tetradic
#2A7EAB #982AAB #AB572A #3EAB2A
square
#2A7EAB #982AAB #AB572A #3EAB2A
split-complementary
#2A7EAB #AB2A3E #AB982A
monochromatic
#123649 #1E5A7A #2A7EAB #429FD1 #73B8DD

Accessibility & contrast

On white

4.50
#2A7EAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#2A7EAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A7EAB
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7EAB#FFFFFF#000000##000000
##2A7EAB1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#687EAD
Deuteranopia (green-blind)
#5771AA
Tritanopia (blue-blind)
#008A8D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2a7eab;
/* rgb */ color: rgb(42, 126, 171);
/* oklch */ color: oklch(56.4% 0.105 236.7);
Tailwind
colors: {
  custom: {
    50: '#76a3c4',
    500: '#2a7eab',
    950: '#000000',
  },
}
SCSS
$custom: #2a7eab;
$custom-light: #76a3c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7eab",
  "rgb": {
    "r": 42,
    "g": 126,
    "b": 171
  },
  "hsl": {
    "h": 200.93,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.56389,
    "c": 0.10477,
    "h": 236.7
  },
  "luminance": 0.18354
}

Semantic roles & 50–950 ramp

primary
#2A7EAB
secondary
#C48B6D
accent
#7C44E4
background
#F7FAFC
surface
#EEF3F8
border
#C9CDD1
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2A7EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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