#2A7991#2A7991

#2A7991 is a mid, moderate cyan. Relative luminance 0.162; OKLCH L 53.9% C 0.084 H 221.9°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#2A7991
RGBrgb(42, 121, 145)
HSLhsl(194, 55%, 37%)
HSVhsv(194, 71%, 57%)
CMYKcmyk(71%, 16.6%, 0%, 43.1%)
CIE-LABlab(47.25, -15.66, -19.97)
CIE-LCHlch(47.25, 25.38, 231.89°)
OKLaboklab(53.89% -0.0621 -0.0558)
OKLCHoklch(53.89% 0.084 221.9)
XYZxyz(12.9010, 16.2099, 29.2315)
Luminance0.1621 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7991 #91422A
analogous
#2A9176 #2A7991 #2A4691
triadic
#2A7991 #912A79 #79912A
tetradic
#2A7991 #762A91 #91422A #46912A
square
#2A7991 #762A91 #91422A #46912A
split-complementary
#2A7991 #912A46 #91762A
monochromatic
#0F2A32 #1C5162 #2A7991 #38A1C0 #63B8D2

Accessibility & contrast

On white

4.95
#2A7991 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#2A7991 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7991
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7991#FFFFFF#000000##FFFFFF
##2A79911.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B7692
Deuteranopia (green-blind)
#5D6C91
Tritanopia (blue-blind)
#008181
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2a7991;
/* rgb */ color: rgb(42, 121, 145);
/* oklch */ color: oklch(53.9% 0.084 221.9);
Tailwind
colors: {
  custom: {
    50: '#729fb1',
    500: '#2a7991',
    950: '#000000',
  },
}
SCSS
$custom: #2a7991;
$custom-light: #729fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7991",
  "rgb": {
    "r": 42,
    "g": 121,
    "b": 145
  },
  "hsl": {
    "h": 193.981,
    "s": 55.08,
    "l": 36.667
  },
  "oklch": {
    "l": 0.53887,
    "c": 0.08351,
    "h": 221.9
  },
  "luminance": 0.16211
}

Semantic roles & 50–950 ramp

primary
#2A7991
secondary
#B8745F
accent
#6C49DE
background
#F7F9FA
surface
#EDF2F5
border
#C8CCCF
text
#090E10
muted
#7B7E7F

Preview Lab

Preview with #2A7991

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

Preview Lab → · Contrast checker → · Palette generator →

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