#2A7DAB#2A7DAB

#2A7DAB is a mid, moderate cyan. Relative luminance 0.181; OKLCH L 56.1% C 0.105 H 237.6°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#2A7DAB
RGBrgb(42, 125, 171)
HSLhsl(201, 61%, 42%)
HSVhsv(201, 75%, 67%)
CMYKcmyk(75.4%, 26.9%, 0%, 32.9%)
CIE-LABlab(49.61, -8.85, -31.52)
CIE-LCHlch(49.61, 32.74, 254.31°)
OKLaboklab(56.15% -0.0565 -0.0889)
OKLCHoklch(56.15% 0.105 237.6)
XYZxyz(15.6362, 18.0979, 41.1893)
Luminance0.1810 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7DAB #AB582A
analogous
#2AAB99 #2A7DAB #2A3DAB
triadic
#2A7DAB #AB2A7D #7DAB2A
tetradic
#2A7DAB #992AAB #AB582A #3DAB2A
square
#2A7DAB #992AAB #AB582A #3DAB2A
split-complementary
#2A7DAB #AB2A3D #AB992A
monochromatic
#123549 #1E597A #2A7DAB #429ED1 #73B7DD

Accessibility & contrast

On white

4.55
#2A7DAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#2A7DAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A7DAB
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7DAB#FFFFFF#000000##000000
##2A7DAB1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#677DAD
Deuteranopia (green-blind)
#5671AA
Tritanopia (blue-blind)
#00898D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2a7dab;
/* rgb */ color: rgb(42, 125, 171);
/* oklch */ color: oklch(56.1% 0.105 237.6);
Tailwind
colors: {
  custom: {
    50: '#76a2c4',
    500: '#2a7dab',
    950: '#000000',
  },
}
SCSS
$custom: #2a7dab;
$custom-light: #76a2c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7dab",
  "rgb": {
    "r": 42,
    "g": 125,
    "b": 171
  },
  "hsl": {
    "h": 201.395,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.56146,
    "c": 0.1054,
    "h": 237.6
  },
  "luminance": 0.181
}

Semantic roles & 50–950 ramp

primary
#2A7DAB
secondary
#C48C6D
accent
#7D44E4
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0F12
muted
#7C7E81

Preview Lab

Preview with #2A7DAB

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

Preview Lab → · Contrast checker → · Palette generator →

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