#2A7AB7#2A7AB7

#2A7AB7 is a mid, vivid cyan. Relative luminance 0.178; OKLCH L 56.1% C 0.121 H 245.7°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#2A7AB7
RGBrgb(42, 122, 183)
HSLhsl(206, 63%, 44%)
HSVhsv(206, 77%, 72%)
CMYKcmyk(77%, 33.3%, 0%, 28.2%)
CIE-LABlab(49.29, -2.72, -38.98)
CIE-LCHlch(49.29, 39.07, 266.01°)
OKLaboklab(56.08% -0.0499 -0.1107)
OKLCHoklch(56.08% 0.121 245.7)
XYZxyz(16.4583, 17.8283, 47.3643)
Luminance0.1783 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7AB7 #B7672A
analogous
#2AB7AE #2A7AB7 #2A34B7
triadic
#2A7AB7 #B72A7A #7AB72A
tetradic
#2A7AB7 #AE2AB7 #B7672A #34B72A
square
#2A7AB7 #AE2AB7 #B7672A #34B72A
split-complementary
#2A7AB7 #B72A34 #B7AE2A
monochromatic
#133853 #1F5985 #2A7AB7 #4999D5 #7BB5E1

Accessibility & contrast

On white

4.60
#2A7AB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#2A7AB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7AB7
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7AB7#FFFFFF#000000##FFFFFF
##2A7AB71.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E7CBA
Deuteranopia (green-blind)
#4A6FB6
Tritanopia (blue-blind)
#008990
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2a7ab7;
/* rgb */ color: rgb(42, 122, 183);
/* oklch */ color: oklch(56.1% 0.121 245.7);
Tailwind
colors: {
  custom: {
    50: '#78a0cd',
    500: '#2a7ab7',
    950: '#000000',
  },
}
SCSS
$custom: #2a7ab7;
$custom-light: #78a0cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7ab7",
  "rgb": {
    "r": 42,
    "g": 122,
    "b": 183
  },
  "hsl": {
    "h": 205.957,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.56077,
    "c": 0.12141,
    "h": 245.7
  },
  "luminance": 0.1783
}

Semantic roles & 50–950 ramp

primary
#2A7AB7
secondary
#C99974
accent
#8942E6
background
#F7F9FC
surface
#EEF2F9
border
#C9CCD2
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2A7AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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