#2A7182#2A7182

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

Color values

HEX#2A7182
RGBrgb(42, 113, 130)
HSLhsl(192, 51%, 34%)
HSVhsv(192, 68%, 51%)
CMYKcmyk(67.7%, 13.1%, 0%, 49%)
CIE-LABlab(44.11, -16.26, -15.87)
CIE-LCHlch(44.11, 22.72, 224.30°)
OKLaboklab(51.17% -0.0596 -0.0441)
OKLCHoklch(51.17% 0.074 216.5)
XYZxyz(10.8876, 13.9130, 23.2265)
Luminance0.1391 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7182 #823B2A
analogous
#2A8267 #2A7182 #2A4582
triadic
#2A7182 #822A71 #71822A
tetradic
#2A7182 #672A82 #823B2A #45822A
square
#2A7182 #672A82 #823B2A #45822A
split-complementary
#2A7182 #822A45 #82672A
monochromatic
#0C2125 #1B4954 #2A7182 #3999B0 #5CB5CA

Accessibility & contrast

On white

5.55
#2A7182 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2A7182
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7182#FFFFFF#000000##FFFFFF
##2A71821.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a7182;
/* rgb */ color: rgb(42, 113, 130);
/* oklch */ color: oklch(51.2% 0.074 216.5);
Tailwind
colors: {
  custom: {
    50: '#6f9aa6',
    500: '#2a7182',
    950: '#000000',
  },
}
SCSS
$custom: #2a7182;
$custom-light: #6f9aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7182",
  "rgb": {
    "r": 42,
    "g": 113,
    "b": 130
  },
  "hsl": {
    "h": 191.591,
    "s": 51.163,
    "l": 33.725
  },
  "oklch": {
    "l": 0.51172,
    "c": 0.0742,
    "h": 216.5
  },
  "luminance": 0.13914
}

Semantic roles & 50–950 ramp

primary
#2A7182
secondary
#B06958
accent
#684DDB
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E0F
muted
#7B7E7F

Preview Lab

Preview with #2A7182

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

Preview Lab → · Contrast checker → · Palette generator →

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