#2A7799#2A7799

#2A7799 is a mid, moderate cyan. Relative luminance 0.160; OKLCH L 53.8% C 0.091 H 231.1°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#2A7799
RGBrgb(42, 119, 153)
HSLhsl(198, 57%, 38%)
HSVhsv(198, 73%, 60%)
CMYKcmyk(72.5%, 22.2%, 0%, 40%)
CIE-LABlab(46.95, -11.78, -25.14)
CIE-LCHlch(46.95, 27.76, 244.90°)
OKLaboklab(53.76% -0.0569 -0.0706)
OKLCHoklch(53.76% 0.091 231.1)
XYZxyz(13.2991, 15.9843, 32.5152)
Luminance0.1599 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7799 #994C2A
analogous
#2A9983 #2A7799 #2A4099
triadic
#2A7799 #992A77 #77992A
tetradic
#2A7799 #832A99 #994C2A #40992A
square
#2A7799 #832A99 #994C2A #40992A
split-complementary
#2A7799 #992A40 #99832A
monochromatic
#102C39 #1D5269 #2A7799 #389CC8 #68B4D6

Accessibility & contrast

On white

5.00
#2A7799 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#2A7799 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7799
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7799#FFFFFF#000000##FFFFFF
##2A77991.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#66759B
Deuteranopia (green-blind)
#576B99
Tritanopia (blue-blind)
#008082
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2a7799;
/* rgb */ color: rgb(42, 119, 153);
/* oklch */ color: oklch(53.8% 0.091 231.1);
Tailwind
colors: {
  custom: {
    50: '#739eb7',
    500: '#2a7799',
    950: '#000000',
  },
}
SCSS
$custom: #2a7799;
$custom-light: #739eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7799",
  "rgb": {
    "r": 42,
    "g": 119,
    "b": 153
  },
  "hsl": {
    "h": 198.378,
    "s": 56.923,
    "l": 38.235
  },
  "oklch": {
    "l": 0.53762,
    "c": 0.09068,
    "h": 231.1
  },
  "luminance": 0.15986
}

Semantic roles & 50–950 ramp

primary
#2A7799
secondary
#BC7E63
accent
#7648E0
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2A7799

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

Preview Lab → · Contrast checker → · Palette generator →

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