#2A7AA8#2A7AA8

#2A7AA8 is a mid, moderate cyan. Relative luminance 0.172; OKLCH L 55.3% C 0.104 H 238.4°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#2A7AA8
RGBrgb(42, 122, 168)
HSLhsl(202, 60%, 41%)
HSVhsv(202, 75%, 66%)
CMYKcmyk(75%, 27.4%, 0%, 34.1%)
CIE-LABlab(48.56, -8.18, -31.43)
CIE-LCHlch(48.56, 32.47, 255.40°)
OKLaboklab(55.26% -0.0546 -0.0887)
OKLCHoklch(55.26% 0.104 238.4)
XYZxyz(14.9795, 17.2367, 39.5757)
Luminance0.1724 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7AA8 #A8582A
analogous
#2AA897 #2A7AA8 #2A3BA8
triadic
#2A7AA8 #A82A7A #7AA82A
tetradic
#2A7AA8 #972AA8 #A8582A #3BA82A
square
#2A7AA8 #972AA8 #A8582A #3BA82A
split-complementary
#2A7AA8 #A82A3B #A8972A
monochromatic
#123346 #1E5677 #2A7AA8 #409BCF #71B5DB

Accessibility & contrast

On white

4.72
#2A7AA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#2A7AA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7AA8
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7AA8#FFFFFF#000000##FFFFFF
##2A7AA81.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#647AAA
Deuteranopia (green-blind)
#536EA7
Tritanopia (blue-blind)
#00868A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2a7aa8;
/* rgb */ color: rgb(42, 122, 168);
/* oklch */ color: oklch(55.3% 0.104 238.4);
Tailwind
colors: {
  custom: {
    50: '#75a0c2',
    500: '#2a7aa8',
    950: '#000000',
  },
}
SCSS
$custom: #2a7aa8;
$custom-light: #75a0c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7aa8",
  "rgb": {
    "r": 42,
    "g": 122,
    "b": 168
  },
  "hsl": {
    "h": 201.905,
    "s": 60,
    "l": 41.176
  },
  "oklch": {
    "l": 0.5526,
    "c": 0.10418,
    "h": 238.4
  },
  "luminance": 0.17238
}

Semantic roles & 50–950 ramp

primary
#2A7AA8
secondary
#C38B6B
accent
#7F45E3
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2A7AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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