#2A7790#2A7790

#2A7790 is a mid, moderate cyan. Relative luminance 0.157; OKLCH L 53.3% C 0.083 H 223.4°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#2A7790
RGBrgb(42, 119, 144)
HSLhsl(195, 55%, 36%)
HSVhsv(195, 71%, 56%)
CMYKcmyk(70.8%, 17.4%, 0%, 43.5%)
CIE-LABlab(46.58, -14.89, -20.41)
CIE-LCHlch(46.58, 25.27, 233.90°)
OKLaboklab(53.34% -0.0604 -0.057)
OKLCHoklch(53.34% 0.083 223.4)
XYZxyz(12.5837, 15.6981, 28.7470)
Luminance0.1570 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7790 #90432A
analogous
#2A9076 #2A7790 #2A4490
triadic
#2A7790 #902A77 #77902A
tetradic
#2A7790 #762A90 #90432A #44902A
square
#2A7790 #762A90 #90432A #44902A
split-complementary
#2A7790 #902A44 #90762A
monochromatic
#0E2931 #1C5061 #2A7790 #389EBF #63B6D1

Accessibility & contrast

On white

5.07
#2A7790 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#2A7790 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7790
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7790#FFFFFF#000000##FFFFFF
##2A77901.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#697491
Deuteranopia (green-blind)
#5B6A90
Tritanopia (blue-blind)
#007F7F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2a7790;
/* rgb */ color: rgb(42, 119, 144);
/* oklch */ color: oklch(53.3% 0.083 223.4);
Tailwind
colors: {
  custom: {
    50: '#719eb0',
    500: '#2a7790',
    950: '#000000',
  },
}
SCSS
$custom: #2a7790;
$custom-light: #719eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7790",
  "rgb": {
    "r": 42,
    "g": 119,
    "b": 144
  },
  "hsl": {
    "h": 194.706,
    "s": 54.839,
    "l": 36.471
  },
  "oklch": {
    "l": 0.53335,
    "c": 0.0831,
    "h": 223.4
  },
  "luminance": 0.157
}

Semantic roles & 50–950 ramp

primary
#2A7790
secondary
#B7745E
accent
#6E4ADE
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090E10
muted
#7B7E7F

Preview Lab

Preview with #2A7790

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

Preview Lab → · Contrast checker → · Palette generator →

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