#2A7793#2A7793

#2A7793 is a mid, moderate cyan. Relative luminance 0.158; OKLCH L 53.5% C 0.085 H 226.1°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#2A7793
RGBrgb(42, 119, 147)
HSLhsl(196, 56%, 37%)
HSVhsv(196, 71%, 58%)
CMYKcmyk(71.4%, 19%, 0%, 42.4%)
CIE-LABlab(46.70, -13.86, -22.00)
CIE-LCHlch(46.70, 26.00, 237.78°)
OKLaboklab(53.47% -0.0592 -0.0616)
OKLCHoklch(53.47% 0.085 226.1)
XYZxyz(12.8160, 15.7910, 29.9706)
Luminance0.1579 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7793 #93462A
analogous
#2A937B #2A7793 #2A4393
triadic
#2A7793 #932A77 #77932A
tetradic
#2A7793 #7B2A93 #93462A #43932A
square
#2A7793 #7B2A93 #93462A #43932A
split-complementary
#2A7793 #932A43 #937B2A
monochromatic
#0F2A34 #1C5063 #2A7793 #389EC3 #65B5D3

Accessibility & contrast

On white

5.05
#2A7793 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#2A7793 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7793
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7793#FFFFFF#000000##FFFFFF
##2A77931.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#687594
Deuteranopia (green-blind)
#596A93
Tritanopia (blue-blind)
#007F80
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2a7793;
/* rgb */ color: rgb(42, 119, 147);
/* oklch */ color: oklch(53.5% 0.085 226.1);
Tailwind
colors: {
  custom: {
    50: '#729eb2',
    500: '#2a7793',
    950: '#000000',
  },
}
SCSS
$custom: #2a7793;
$custom-light: #729eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7793",
  "rgb": {
    "r": 42,
    "g": 119,
    "b": 147
  },
  "hsl": {
    "h": 196,
    "s": 55.556,
    "l": 37.059
  },
  "oklch": {
    "l": 0.53474,
    "c": 0.08543,
    "h": 226.1
  },
  "luminance": 0.15792
}

Semantic roles & 50–950 ramp

primary
#2A7793
secondary
#B97860
accent
#7149DF
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2A7793

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

Preview Lab → · Contrast checker → · Palette generator →

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