#2A7CAA#2A7CAA

#2A7CAA is a mid, moderate cyan. Relative luminance 0.178; OKLCH L 55.9% C 0.105 H 237.8°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#2A7CAA
RGBrgb(42, 124, 170)
HSLhsl(202, 60%, 42%)
HSVhsv(202, 75%, 67%)
CMYKcmyk(75.3%, 27.1%, 0%, 33.3%)
CIE-LABlab(49.26, -8.63, -31.49)
CIE-LCHlch(49.26, 32.65, 254.67°)
OKLaboklab(55.85% -0.0559 -0.0889)
OKLCHoklch(55.85% 0.105 237.8)
XYZxyz(15.4153, 17.8080, 40.6473)
Luminance0.1781 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7CAA #AA582A
analogous
#2AAA98 #2A7CAA #2A3CAA
triadic
#2A7CAA #AA2A7C #7CAA2A
tetradic
#2A7CAA #982AAA #AA582A #3CAA2A
square
#2A7CAA #982AAA #AA582A #3CAA2A
split-complementary
#2A7CAA #AA2A3C #AA982A
monochromatic
#123448 #1E5879 #2A7CAA #419DD0 #72B6DC

Accessibility & contrast

On white

4.60
#2A7CAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#2A7CAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7CAA
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7CAA#FFFFFF#000000##FFFFFF
##2A7CAA1.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#667CAC
Deuteranopia (green-blind)
#5570A9
Tritanopia (blue-blind)
#00888C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2a7caa;
/* rgb */ color: rgb(42, 124, 170);
/* oklch */ color: oklch(55.9% 0.105 237.8);
Tailwind
colors: {
  custom: {
    50: '#76a1c3',
    500: '#2a7caa',
    950: '#000000',
  },
}
SCSS
$custom: #2a7caa;
$custom-light: #76a1c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7caa",
  "rgb": {
    "r": 42,
    "g": 124,
    "b": 170
  },
  "hsl": {
    "h": 201.563,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.55851,
    "c": 0.10499,
    "h": 237.8
  },
  "luminance": 0.1781
}

Semantic roles & 50–950 ramp

primary
#2A7CAA
secondary
#C38C6C
accent
#7E44E4
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0F12
muted
#7C7E81

Preview Lab

Preview with #2A7CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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