#2A7282#2A7282

#2A7282 is a mid, moderate cyan. Relative luminance 0.141; OKLCH L 51.4% C 0.074 H 215.1°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#2A7282
RGBrgb(42, 114, 130)
HSLhsl(191, 51%, 34%)
HSVhsv(191, 68%, 51%)
CMYKcmyk(67.7%, 12.3%, 0%, 49%)
CIE-LABlab(44.43, -16.81, -15.38)
CIE-LCHlch(44.43, 22.78, 222.45°)
OKLaboklab(51.43% -0.0608 -0.0428)
OKLCHoklch(51.43% 0.074 215.1)
XYZxyz(10.9998, 14.1374, 23.2638)
Luminance0.1414 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7282 #823A2A
analogous
#2A8266 #2A7282 #2A4682
triadic
#2A7282 #822A72 #72822A
tetradic
#2A7282 #662A82 #823A2A #46822A
square
#2A7282 #662A82 #823A2A #46822A
split-complementary
#2A7282 #822A46 #82662A
monochromatic
#0C2125 #1B4954 #2A7282 #399BB0 #5CB6CA

Accessibility & contrast

On white

5.49
#2A7282 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#2A7282 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7282
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7282#FFFFFF#000000##FFFFFF
##2A72821.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#676E83
Deuteranopia (green-blind)
#5A6582
Tritanopia (blue-blind)
#007877
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2a7282;
/* rgb */ color: rgb(42, 114, 130);
/* oklch */ color: oklch(51.4% 0.074 215.1);
Tailwind
colors: {
  custom: {
    50: '#6f9aa6',
    500: '#2a7282',
    950: '#000000',
  },
}
SCSS
$custom: #2a7282;
$custom-light: #6f9aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7282",
  "rgb": {
    "r": 42,
    "g": 114,
    "b": 130
  },
  "hsl": {
    "h": 190.909,
    "s": 51.163,
    "l": 33.725
  },
  "oklch": {
    "l": 0.5143,
    "c": 0.0743,
    "h": 215.1
  },
  "luminance": 0.14139
}

Semantic roles & 50–950 ramp

primary
#2A7282
secondary
#B06858
accent
#674DDB
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E0F
muted
#7B7E7F

Preview Lab

Preview with #2A7282

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

Preview Lab → · Contrast checker → · Palette generator →

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