#2A7DA6#2A7DA6

#2A7DA6 is a mid, moderate cyan. Relative luminance 0.179; OKLCH L 55.9% C 0.100 H 234.4°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#2A7DA6
RGBrgb(42, 125, 166)
HSLhsl(200, 60%, 41%)
HSVhsv(200, 75%, 65%)
CMYKcmyk(74.7%, 24.7%, 0%, 34.9%)
CIE-LABlab(49.39, -10.63, -28.97)
CIE-LCHlch(49.39, 30.86, 249.84°)
OKLaboklab(55.89% -0.0583 -0.0816)
OKLCHoklch(55.89% 0.1 234.4)
XYZxyz(15.1687, 17.9109, 38.7267)
Luminance0.1791 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7DA6 #A6532A
analogous
#2AA691 #2A7DA6 #2A3FA6
triadic
#2A7DA6 #A62A7D #7DA62A
tetradic
#2A7DA6 #912AA6 #A6532A #3FA62A
square
#2A7DA6 #912AA6 #A6532A #3FA62A
split-complementary
#2A7DA6 #A62A3F #A6912A
monochromatic
#113344 #1E5875 #2A7DA6 #3F9FCE #70B7DB

Accessibility & contrast

On white

4.58
#2A7DA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#2A7DA6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A7DA6
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7DA6#FFFFFF#000000##000000
##2A7DA61.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#697CA8
Deuteranopia (green-blind)
#5870A5
Tritanopia (blue-blind)
#00888B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2a7da6;
/* rgb */ color: rgb(42, 125, 166);
/* oklch */ color: oklch(55.9% 0.100 234.4);
Tailwind
colors: {
  custom: {
    50: '#75a2c0',
    500: '#2a7da6',
    950: '#000000',
  },
}
SCSS
$custom: #2a7da6;
$custom-light: #75a2c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7da6",
  "rgb": {
    "r": 42,
    "g": 125,
    "b": 166
  },
  "hsl": {
    "h": 199.839,
    "s": 59.615,
    "l": 40.784
  },
  "oklch": {
    "l": 0.55891,
    "c": 0.10026,
    "h": 234.4
  },
  "luminance": 0.17913
}

Semantic roles & 50–950 ramp

primary
#2A7DA6
secondary
#C2876A
accent
#7945E3
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0F12
muted
#7C7E81

Preview Lab

Preview with #2A7DA6

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

Preview Lab → · Contrast checker → · Palette generator →

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