#2A7AB0#2A7AB0

#2A7AB0 is a mid, moderate cyan. Relative luminance 0.175; OKLCH L 55.7% C 0.113 H 242.6°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#2A7AB0
RGBrgb(42, 122, 176)
HSLhsl(204, 61%, 43%)
HSVhsv(204, 76%, 69%)
CMYKcmyk(76.1%, 30.7%, 0%, 31%)
CIE-LABlab(48.94, -5.29, -35.48)
CIE-LCHlch(48.94, 35.87, 261.52°)
OKLaboklab(55.69% -0.052 -0.1005)
OKLCHoklch(55.69% 0.113 242.6)
XYZxyz(15.7478, 17.5441, 43.6223)
Luminance0.1755 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7AB0 #B0602A
analogous
#2AB0A3 #2A7AB0 #2A37B0
triadic
#2A7AB0 #B02A7A #7AB02A
tetradic
#2A7AB0 #A32AB0 #B0602A #37B02A
square
#2A7AB0 #A32AB0 #B0602A #37B02A
split-complementary
#2A7AB0 #B02A37 #B0A32A
monochromatic
#12364D #1E587F #2A7AB0 #4599D3 #76B4DE

Accessibility & contrast

On white

4.66
#2A7AB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#2A7AB0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7AB0
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7AB0#FFFFFF#000000##FFFFFF
##2A7AB01.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a7ab0;
/* rgb */ color: rgb(42, 122, 176);
/* oklch */ color: oklch(55.7% 0.113 242.6);
Tailwind
colors: {
  custom: {
    50: '#77a0c8',
    500: '#2a7ab0',
    950: '#000000',
  },
}
SCSS
$custom: #2a7ab0;
$custom-light: #77a0c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7ab0",
  "rgb": {
    "r": 42,
    "g": 122,
    "b": 176
  },
  "hsl": {
    "h": 204.179,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.55688,
    "c": 0.11315,
    "h": 242.6
  },
  "luminance": 0.17546
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A7AB0

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

Preview Lab → · Contrast checker → · Palette generator →

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