#2A7AB1#2A7AB1

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

Color values

HEX#2A7AB1
RGBrgb(42, 122, 177)
HSLhsl(204, 62%, 43%)
HSVhsv(204, 76%, 69%)
CMYKcmyk(76.3%, 31.1%, 0%, 30.6%)
CIE-LABlab(48.99, -4.92, -35.98)
CIE-LCHlch(48.99, 36.31, 262.21°)
OKLaboklab(55.74% -0.0517 -0.1019)
OKLCHoklch(55.74% 0.114 243.1)
XYZxyz(15.8471, 17.5838, 44.1453)
Luminance0.1759 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7AB1 #B1612A
analogous
#2AB1A4 #2A7AB1 #2A37B1
triadic
#2A7AB1 #B12A7A #7AB12A
tetradic
#2A7AB1 #A42AB1 #B1612A #37B12A
square
#2A7AB1 #A42AB1 #B1612A #37B12A
split-complementary
#2A7AB1 #B12A37 #B1A42A
monochromatic
#13364E #1E5880 #2A7AB1 #4599D3 #77B4DF

Accessibility & contrast

On white

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

On black

4.52
#2A7AB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2A7AB1#FFFFFF#000000##FFFFFF
##2A7AB11.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#617BB3
Deuteranopia (green-blind)
#4E6FB0
Tritanopia (blue-blind)
#00878D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2a7ab1;
/* rgb */ color: rgb(42, 122, 177);
/* oklch */ color: oklch(55.7% 0.114 243.1);
Tailwind
colors: {
  custom: {
    50: '#77a0c8',
    500: '#2a7ab1',
    950: '#000000',
  },
}
SCSS
$custom: #2a7ab1;
$custom-light: #77a0c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7ab1",
  "rgb": {
    "r": 42,
    "g": 122,
    "b": 177
  },
  "hsl": {
    "h": 204.444,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.55743,
    "c": 0.11431,
    "h": 243.1
  },
  "luminance": 0.17586
}

Semantic roles & 50–950 ramp

primary
#2A7AB1
secondary
#C69370
accent
#8543E5
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2A7AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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