#2A7BA0#2A7BA0

#2A7BA0 is a mid, moderate cyan. Relative luminance 0.172; OKLCH L 55.1% C 0.095 H 232.2°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#2A7BA0
RGBrgb(42, 123, 160)
HSLhsl(199, 58%, 40%)
HSVhsv(199, 74%, 63%)
CMYKcmyk(73.8%, 23.1%, 0%, 37.3%)
CIE-LABlab(48.50, -11.61, -26.84)
CIE-LCHlch(48.50, 29.24, 246.61°)
OKLaboklab(55.1% -0.0584 -0.0754)
OKLCHoklch(55.1% 0.095 232.2)
XYZxyz(14.3804, 17.1946, 35.8119)
Luminance0.1720 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7BA0 #A04F2A
analogous
#2AA08A #2A7BA0 #2A40A0
triadic
#2A7BA0 #A02A7B #7BA02A
tetradic
#2A7BA0 #8A2AA0 #A04F2A #40A02A
square
#2A7BA0 #8A2AA0 #A04F2A #40A02A
split-complementary
#2A7BA0 #A02A40 #A08A2A
monochromatic
#11303F #1D5670 #2A7BA0 #3C9ECC #6CB6D8

Accessibility & contrast

On white

4.73
#2A7BA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#2A7BA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7BA0
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7BA0#FFFFFF#000000##FFFFFF
##2A7BA01.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#697AA2
Deuteranopia (green-blind)
#596E9F
Tritanopia (blue-blind)
#008587
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2a7ba0;
/* rgb */ color: rgb(42, 123, 160);
/* oklch */ color: oklch(55.1% 0.095 232.2);
Tailwind
colors: {
  custom: {
    50: '#74a1bc',
    500: '#2a7ba0',
    950: '#000000',
  },
}
SCSS
$custom: #2a7ba0;
$custom-light: #74a1bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7ba0",
  "rgb": {
    "r": 42,
    "g": 123,
    "b": 160
  },
  "hsl": {
    "h": 198.814,
    "s": 58.416,
    "l": 39.608
  },
  "oklch": {
    "l": 0.55099,
    "c": 0.09544,
    "h": 232.2
  },
  "luminance": 0.17196
}

Semantic roles & 50–950 ramp

primary
#2A7BA0
secondary
#BF8267
accent
#7746E2
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2A7BA0

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

Preview Lab → · Contrast checker → · Palette generator →

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