#2A7FA9#2A7FA9

#2A7FA9 is a mid, moderate cyan. Relative luminance 0.185; OKLCH L 56.5% C 0.102 H 234.6°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#2A7FA9
RGBrgb(42, 127, 169)
HSLhsl(200, 60%, 41%)
HSVhsv(200, 75%, 66%)
CMYKcmyk(75.1%, 24.9%, 0%, 33.7%)
CIE-LABlab(50.14, -10.72, -29.54)
CIE-LCHlch(50.14, 31.43, 250.06°)
OKLaboklab(56.53% -0.0592 -0.0832)
OKLCHoklch(56.53% 0.102 234.6)
XYZxyz(15.7028, 18.5337, 40.2782)
Luminance0.1854 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7FA9 #A9542A
analogous
#2AA994 #2A7FA9 #2A3FA9
triadic
#2A7FA9 #A92A7F #7FA92A
tetradic
#2A7FA9 #942AA9 #A9542A #3FA92A
square
#2A7FA9 #942AA9 #A9542A #3FA92A
split-complementary
#2A7FA9 #A92A3F #A9942A
monochromatic
#123547 #1E5A78 #2A7FA9 #41A0D0 #72B9DC

Accessibility & contrast

On white

4.46
#2A7FA9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#2A7FA9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A7FA9
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7FA9#FFFFFF#000000##000000
##2A7FA91.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B7EAB
Deuteranopia (green-blind)
#5972A8
Tritanopia (blue-blind)
#008A8D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2a7fa9;
/* rgb */ color: rgb(42, 127, 169);
/* oklch */ color: oklch(56.5% 0.102 234.6);
Tailwind
colors: {
  custom: {
    50: '#76a4c2',
    500: '#2a7fa9',
    950: '#000000',
  },
}
SCSS
$custom: #2a7fa9;
$custom-light: #76a4c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7fa9",
  "rgb": {
    "r": 42,
    "g": 127,
    "b": 169
  },
  "hsl": {
    "h": 199.843,
    "s": 60.19,
    "l": 41.373
  },
  "oklch": {
    "l": 0.56532,
    "c": 0.10214,
    "h": 234.6
  },
  "luminance": 0.18536
}

Semantic roles & 50–950 ramp

primary
#2A7FA9
secondary
#C3896C
accent
#7944E3
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2A7FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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