#2A7994#2A7994

#2A7994 is a mid, moderate cyan. Relative luminance 0.163; OKLCH L 54.0% C 0.086 H 224.7°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#2A7994
RGBrgb(42, 121, 148)
HSLhsl(195, 56%, 37%)
HSVhsv(195, 72%, 58%)
CMYKcmyk(71.6%, 18.2%, 0%, 42%)
CIE-LABlab(47.37, -14.64, -21.55)
CIE-LCHlch(47.37, 26.06, 235.81°)
OKLaboklab(54.03% -0.0609 -0.0603)
OKLCHoklch(54.03% 0.086 224.7)
XYZxyz(13.1353, 16.3036, 30.4659)
Luminance0.1631 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7994 #94452A
analogous
#2A947A #2A7994 #2A4494
triadic
#2A7994 #942A79 #79942A
tetradic
#2A7994 #7A2A94 #94452A #44942A
square
#2A7994 #7A2A94 #94452A #44942A
split-complementary
#2A7994 #942A44 #947A2A
monochromatic
#0F2B35 #1C5264 #2A7994 #38A0C4 #65B7D3

Accessibility & contrast

On white

4.93
#2A7994 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#2A7994 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7994
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7994#FFFFFF#000000##FFFFFF
##2A79941.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A7695
Deuteranopia (green-blind)
#5B6C94
Tritanopia (blue-blind)
#008182
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2a7994;
/* rgb */ color: rgb(42, 121, 148);
/* oklch */ color: oklch(54.0% 0.086 224.7);
Tailwind
colors: {
  custom: {
    50: '#729fb3',
    500: '#2a7994',
    950: '#000000',
  },
}
SCSS
$custom: #2a7994;
$custom-light: #729fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7994",
  "rgb": {
    "r": 42,
    "g": 121,
    "b": 148
  },
  "hsl": {
    "h": 195.283,
    "s": 55.789,
    "l": 37.255
  },
  "oklch": {
    "l": 0.54025,
    "c": 0.08573,
    "h": 224.7
  },
  "luminance": 0.16305
}

Semantic roles & 50–950 ramp

primary
#2A7994
secondary
#B97760
accent
#6F49DF
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2A7994

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

Preview Lab → · Contrast checker → · Palette generator →

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