#2A7EA7#2A7EA7

#2A7EA7 is a mid, moderate cyan. Relative luminance 0.182; OKLCH L 56.2% C 0.101 H 234.2°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#2A7EA7
RGBrgb(42, 126, 167)
HSLhsl(200, 60%, 41%)
HSVhsv(200, 75%, 65%)
CMYKcmyk(74.9%, 24.6%, 0%, 34.5%)
CIE-LABlab(49.74, -10.85, -29.00)
CIE-LCHlch(49.74, 30.96, 249.48°)
OKLaboklab(56.19% -0.0589 -0.0816)
OKLCHoklch(56.19% 0.101 234.2)
XYZxyz(15.3880, 18.2022, 39.2541)
Luminance0.1820 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7EA7 #A7532A
analogous
#2AA791 #2A7EA7 #2A3FA7
triadic
#2A7EA7 #A72A7E #7EA72A
tetradic
#2A7EA7 #912AA7 #A7532A #3FA72A
square
#2A7EA7 #912AA7 #A7532A #3FA72A
split-complementary
#2A7EA7 #A72A3F #A7912A
monochromatic
#113445 #1E5976 #2A7EA7 #3FA0CF #70B8DB

Accessibility & contrast

On white

4.53
#2A7EA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#2A7EA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A7EA7
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7EA7#FFFFFF#000000##000000
##2A7EA71.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A7DA9
Deuteranopia (green-blind)
#5971A6
Tritanopia (blue-blind)
#00898C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2a7ea7;
/* rgb */ color: rgb(42, 126, 167);
/* oklch */ color: oklch(56.2% 0.101 234.2);
Tailwind
colors: {
  custom: {
    50: '#75a3c1',
    500: '#2a7ea7',
    950: '#000000',
  },
}
SCSS
$custom: #2a7ea7;
$custom-light: #75a3c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7ea7",
  "rgb": {
    "r": 42,
    "g": 126,
    "b": 167
  },
  "hsl": {
    "h": 199.68,
    "s": 59.809,
    "l": 40.98
  },
  "oklch": {
    "l": 0.56186,
    "c": 0.1007,
    "h": 234.2
  },
  "luminance": 0.18204
}

Semantic roles & 50–950 ramp

primary
#2A7EA7
secondary
#C2876B
accent
#7945E3
background
#F7FAFB
surface
#EEF3F7
border
#C9CDD0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2A7EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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