#2A7AB3#2A7AB3

#2A7AB3 is a mid, moderate cyan. Relative luminance 0.177; OKLCH L 55.9% C 0.117 H 244.0°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#2A7AB3
RGBrgb(42, 122, 179)
HSLhsl(205, 62%, 43%)
HSVhsv(205, 77%, 70%)
CMYKcmyk(76.5%, 31.8%, 0%, 29.8%)
CIE-LABlab(49.09, -4.19, -36.98)
CIE-LCHlch(49.09, 37.22, 263.53°)
OKLaboklab(55.85% -0.0511 -0.1049)
OKLCHoklch(55.85% 0.117 244)
XYZxyz(16.0479, 17.6641, 45.2028)
Luminance0.1767 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7AB3 #B3632A
analogous
#2AB3A7 #2A7AB3 #2A35B3
triadic
#2A7AB3 #B32A7A #7AB32A
tetradic
#2A7AB3 #A72AB3 #B3632A #35B32A
square
#2A7AB3 #A72AB3 #B3632A #35B32A
split-complementary
#2A7AB3 #B32A35 #B3A72A
monochromatic
#133650 #1E5881 #2A7AB3 #4699D4 #78B4DF

Accessibility & contrast

On white

4.63
#2A7AB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#2A7AB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7AB3
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7AB3#FFFFFF#000000##FFFFFF
##2A7AB31.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#607CB5
Deuteranopia (green-blind)
#4C6FB2
Tritanopia (blue-blind)
#00888E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2a7ab3;
/* rgb */ color: rgb(42, 122, 179);
/* oklch */ color: oklch(55.9% 0.117 244.0);
Tailwind
colors: {
  custom: {
    50: '#77a0ca',
    500: '#2a7ab3',
    950: '#000000',
  },
}
SCSS
$custom: #2a7ab3;
$custom-light: #77a0ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7ab3",
  "rgb": {
    "r": 42,
    "g": 122,
    "b": 179
  },
  "hsl": {
    "h": 204.964,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.55853,
    "c": 0.11664,
    "h": 244
  },
  "luminance": 0.17666
}

Semantic roles & 50–950 ramp

primary
#2A7AB3
secondary
#C79572
accent
#8643E5
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2A7AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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