#2A7AA1#2A7AA1

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

Color values

HEX#2A7AA1
RGBrgb(42, 122, 161)
HSLhsl(200, 59%, 40%)
HSVhsv(200, 74%, 63%)
CMYKcmyk(73.9%, 24.2%, 0%, 36.9%)
CIE-LABlab(48.24, -10.68, -27.84)
CIE-LCHlch(48.24, 29.82, 249.01°)
OKLaboklab(54.9% -0.0571 -0.0783)
OKLCHoklch(54.9% 0.097 233.9)
XYZxyz(14.3448, 16.9829, 36.2333)
Luminance0.1699 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7AA1 #A1512A
analogous
#2AA18D #2A7AA1 #2A3EA1
triadic
#2A7AA1 #A12A7A #7AA12A
tetradic
#2A7AA1 #8D2AA1 #A1512A #3EA12A
square
#2A7AA1 #8D2AA1 #A1512A #3EA12A
split-complementary
#2A7AA1 #A12A3E #A18D2A
monochromatic
#113040 #1D5570 #2A7AA1 #3C9DCC #6DB5D9

Accessibility & contrast

On white

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

On black

4.40
#2A7AA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2A7AA1#FFFFFF#000000##FFFFFF
##2A7AA11.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a7aa1;
/* rgb */ color: rgb(42, 122, 161);
/* oklch */ color: oklch(54.9% 0.097 233.9);
Tailwind
colors: {
  custom: {
    50: '#74a0bd',
    500: '#2a7aa1',
    950: '#000000',
  },
}
SCSS
$custom: #2a7aa1;
$custom-light: #74a0bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7aa1",
  "rgb": {
    "r": 42,
    "g": 122,
    "b": 161
  },
  "hsl": {
    "h": 199.664,
    "s": 58.621,
    "l": 39.804
  },
  "oklch": {
    "l": 0.54902,
    "c": 0.09692,
    "h": 233.9
  },
  "luminance": 0.16985
}

Semantic roles & 50–950 ramp

primary
#2A7AA1
secondary
#C08467
accent
#7946E2
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2A7AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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