#2A7181#2A7181

#2A7181 is a mid, moderate cyan. Relative luminance 0.139; OKLCH L 51.1% C 0.074 H 215.4°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#2A7181
RGBrgb(42, 113, 129)
HSLhsl(191, 51%, 34%)
HSVhsv(191, 67%, 51%)
CMYKcmyk(67.4%, 12.4%, 0%, 49.4%)
CIE-LABlab(44.07, -16.59, -15.33)
CIE-LCHlch(44.07, 22.58, 222.74°)
OKLaboklab(51.13% -0.0601 -0.0426)
OKLCHoklch(51.13% 0.074 215.4)
XYZxyz(10.8208, 13.8863, 22.8747)
Luminance0.1389 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7181 #813A2A
analogous
#2A8165 #2A7181 #2A4581
triadic
#2A7181 #812A71 #71812A
tetradic
#2A7181 #652A81 #813A2A #45812A
square
#2A7181 #652A81 #813A2A #45812A
split-complementary
#2A7181 #812A45 #81652A
monochromatic
#0C2025 #1B4953 #2A7181 #3999AF #5CB6CA

Accessibility & contrast

On white

5.56
#2A7181 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#2A7181 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7181
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7181#FFFFFF#000000##FFFFFF
##2A71811.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#666D82
Deuteranopia (green-blind)
#596481
Tritanopia (blue-blind)
#007776
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2a7181;
/* rgb */ color: rgb(42, 113, 129);
/* oklch */ color: oklch(51.1% 0.074 215.4);
Tailwind
colors: {
  custom: {
    50: '#6f9aa5',
    500: '#2a7181',
    950: '#000000',
  },
}
SCSS
$custom: #2a7181;
$custom-light: #6f9aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7181",
  "rgb": {
    "r": 42,
    "g": 113,
    "b": 129
  },
  "hsl": {
    "h": 191.034,
    "s": 50.877,
    "l": 33.529
  },
  "oklch": {
    "l": 0.51128,
    "c": 0.07366,
    "h": 215.4
  },
  "luminance": 0.13887
}

Semantic roles & 50–950 ramp

primary
#2A7181
secondary
#AF6857
accent
#674DDA
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E0F
muted
#7B7E7F

Preview Lab

Preview with #2A7181

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

Preview Lab → · Contrast checker → · Palette generator →

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