#2A7DAC#2A7DAC

#2A7DAC is a mid, moderate cyan. Relative luminance 0.181; OKLCH L 56.2% C 0.106 H 238.1°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#2A7DAC
RGBrgb(42, 125, 172)
HSLhsl(202, 61%, 42%)
HSVhsv(202, 76%, 67%)
CMYKcmyk(75.6%, 27.3%, 0%, 32.5%)
CIE-LABlab(49.66, -8.49, -32.02)
CIE-LCHlch(49.66, 33.13, 255.14°)
OKLaboklab(56.2% -0.0562 -0.0904)
OKLCHoklch(56.2% 0.106 238.1)
XYZxyz(15.7319, 18.1362, 41.6932)
Luminance0.1814 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7DAC #AC592A
analogous
#2AAC9A #2A7DAC #2A3CAC
triadic
#2A7DAC #AC2A7D #7DAC2A
tetradic
#2A7DAC #9A2AAC #AC592A #3CAC2A
square
#2A7DAC #9A2AAC #AC592A #3CAC2A
split-complementary
#2A7DAC #AC2A3C #AC9A2A
monochromatic
#12364A #1E597B #2A7DAC #429DD1 #73B7DD

Accessibility & contrast

On white

4.54
#2A7DAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#2A7DAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A7DAC
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7DAC#FFFFFF#000000##000000
##2A7DAC1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#677DAE
Deuteranopia (green-blind)
#5571AB
Tritanopia (blue-blind)
#00898D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2a7dac;
/* rgb */ color: rgb(42, 125, 172);
/* oklch */ color: oklch(56.2% 0.106 238.1);
Tailwind
colors: {
  custom: {
    50: '#76a2c5',
    500: '#2a7dac',
    950: '#000000',
  },
}
SCSS
$custom: #2a7dac;
$custom-light: #76a2c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7dac",
  "rgb": {
    "r": 42,
    "g": 125,
    "b": 172
  },
  "hsl": {
    "h": 201.692,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.56198,
    "c": 0.10647,
    "h": 238.1
  },
  "luminance": 0.18138
}

Semantic roles & 50–950 ramp

primary
#2A7DAC
secondary
#C48D6D
accent
#7E44E4
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0F13
muted
#7C7E82

Preview Lab

Preview with #2A7DAC

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

Preview Lab → · Contrast checker → · Palette generator →

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