#2A7AA0#2A7AA0

#2A7AA0 is a mid, moderate cyan. Relative luminance 0.169; OKLCH L 54.9% C 0.096 H 233.2°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#2A7AA0
RGBrgb(42, 122, 160)
HSLhsl(199, 58%, 40%)
HSVhsv(199, 74%, 63%)
CMYKcmyk(73.8%, 23.7%, 0%, 37.3%)
CIE-LABlab(48.19, -11.03, -27.32)
CIE-LCHlch(48.19, 29.47, 248.01°)
OKLaboklab(54.85% -0.0574 -0.0768)
OKLCHoklch(54.85% 0.096 233.2)
XYZxyz(14.2570, 16.9477, 35.7707)
Luminance0.1695 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7AA0 #A0502A
analogous
#2AA08B #2A7AA0 #2A3FA0
triadic
#2A7AA0 #A02A7A #7AA02A
tetradic
#2A7AA0 #8B2AA0 #A0502A #3FA02A
square
#2A7AA0 #8B2AA0 #A0502A #3FA02A
split-complementary
#2A7AA0 #A02A3F #A08B2A
monochromatic
#11303F #1D5570 #2A7AA0 #3C9DCC #6CB5D8

Accessibility & contrast

On white

4.78
#2A7AA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#2A7AA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7AA0
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7AA0#FFFFFF#000000##FFFFFF
##2A7AA01.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6779A2
Deuteranopia (green-blind)
#576D9F
Tritanopia (blue-blind)
#008487
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2a7aa0;
/* rgb */ color: rgb(42, 122, 160);
/* oklch */ color: oklch(54.9% 0.096 233.2);
Tailwind
colors: {
  custom: {
    50: '#74a0bc',
    500: '#2a7aa0',
    950: '#000000',
  },
}
SCSS
$custom: #2a7aa0;
$custom-light: #74a0bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7aa0",
  "rgb": {
    "r": 42,
    "g": 122,
    "b": 160
  },
  "hsl": {
    "h": 199.322,
    "s": 58.416,
    "l": 39.608
  },
  "oklch": {
    "l": 0.54852,
    "c": 0.09593,
    "h": 233.2
  },
  "luminance": 0.16949
}

Semantic roles & 50–950 ramp

primary
#2A7AA0
secondary
#BF8367
accent
#7846E2
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2A7AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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