#2A7D9C#2A7D9C

#2A7D9C is a mid, moderate cyan. Relative luminance 0.176; OKLCH L 55.4% C 0.091 H 227.1°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#2A7D9C
RGBrgb(42, 125, 156)
HSLhsl(196, 58%, 39%)
HSVhsv(196, 73%, 61%)
CMYKcmyk(73.1%, 19.9%, 0%, 38.8%)
CIE-LABlab(48.96, -14.13, -23.80)
CIE-LCHlch(48.96, 27.68, 239.30°)
OKLaboklab(55.4% -0.062 -0.0667)
OKLCHoklch(55.4% 0.091 227.1)
XYZxyz(14.2868, 17.5581, 34.0821)
Luminance0.1756 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7D9C #9C492A
analogous
#2A9C82 #2A7D9C #2A449C
triadic
#2A7D9C #9C2A7D #7D9C2A
tetradic
#2A7D9C #822A9C #9C492A #449C2A
square
#2A7D9C #822A9C #9C492A #449C2A
split-complementary
#2A7D9C #9C2A44 #9C822A
monochromatic
#10303C #1D566C #2A7D9C #39A3CA #6AB9D7

Accessibility & contrast

On white

4.65
#2A7D9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#2A7D9C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7D9C
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7D9C#FFFFFF#000000##FFFFFF
##2A7D9C1.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C7B9E
Deuteranopia (green-blind)
#5D6F9C
Tritanopia (blue-blind)
#008687
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2a7d9c;
/* rgb */ color: rgb(42, 125, 156);
/* oklch */ color: oklch(55.4% 0.091 227.1);
Tailwind
colors: {
  custom: {
    50: '#74a2b9',
    500: '#2a7d9c',
    950: '#000000',
  },
}
SCSS
$custom: #2a7d9c;
$custom-light: #74a2b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7d9c",
  "rgb": {
    "r": 42,
    "g": 125,
    "b": 156
  },
  "hsl": {
    "h": 196.316,
    "s": 57.576,
    "l": 38.824
  },
  "oklch": {
    "l": 0.55403,
    "c": 0.09108,
    "h": 227.1
  },
  "luminance": 0.1756
}

Semantic roles & 50–950 ramp

primary
#2A7D9C
secondary
#BD7D65
accent
#7147E1
background
#F7FAFB
surface
#EDF3F6
border
#C8CDD0
text
#090F11
muted
#7B7F80

Preview Lab

Preview with #2A7D9C

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

Preview Lab → · Contrast checker → · Palette generator →

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