#2A7AAC#2A7AAC

#2A7AAC is a mid, moderate cyan. Relative luminance 0.174; OKLCH L 55.5% C 0.109 H 240.6°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#2A7AAC
RGBrgb(42, 122, 172)
HSLhsl(203, 61%, 42%)
HSVhsv(203, 76%, 67%)
CMYKcmyk(75.6%, 29.1%, 0%, 32.5%)
CIE-LABlab(48.75, -6.74, -33.46)
CIE-LCHlch(48.75, 34.13, 258.61°)
OKLaboklab(55.47% -0.0533 -0.0946)
OKLCHoklch(55.47% 0.109 240.6)
XYZxyz(15.3579, 17.3881, 41.5685)
Luminance0.1739 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7AAC #AC5C2A
analogous
#2AAC9D #2A7AAC #2A39AC
triadic
#2A7AAC #AC2A7A #7AAC2A
tetradic
#2A7AAC #9D2AAC #AC5C2A #39AC2A
square
#2A7AAC #9D2AAC #AC5C2A #39AC2A
split-complementary
#2A7AAC #AC2A39 #AC9D2A
monochromatic
#12344A #1E577B #2A7AAC #429AD1 #73B4DD

Accessibility & contrast

On white

4.69
#2A7AAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#2A7AAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7AAC
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7AAC#FFFFFF#000000##FFFFFF
##2A7AAC1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#637BAE
Deuteranopia (green-blind)
#516EAB
Tritanopia (blue-blind)
#00868B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2a7aac;
/* rgb */ color: rgb(42, 122, 172);
/* oklch */ color: oklch(55.5% 0.109 240.6);
Tailwind
colors: {
  custom: {
    50: '#76a0c5',
    500: '#2a7aac',
    950: '#000000',
  },
}
SCSS
$custom: #2a7aac;
$custom-light: #76a0c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7aac",
  "rgb": {
    "r": 42,
    "g": 122,
    "b": 172
  },
  "hsl": {
    "h": 203.077,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.55472,
    "c": 0.10859,
    "h": 240.6
  },
  "luminance": 0.1739
}

Semantic roles & 50–950 ramp

primary
#2A7AAC
secondary
#C48F6D
accent
#8144E4
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2A7AAC

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

Preview Lab → · Contrast checker → · Palette generator →

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