#2A7C95#2A7C95

#2A7C95 is a mid, moderate cyan. Relative luminance 0.171; OKLCH L 54.8% C 0.086 H 222.1°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#2A7C95
RGBrgb(42, 124, 149)
HSLhsl(194, 56%, 37%)
HSVhsv(194, 72%, 58%)
CMYKcmyk(71.8%, 16.8%, 0%, 41.6%)
CIE-LABlab(48.36, -15.97, -20.63)
CIE-LCHlch(48.36, 26.09, 232.25°)
OKLaboklab(54.83% -0.0637 -0.0576)
OKLCHoklch(54.83% 0.086 222.1)
XYZxyz(13.5851, 17.0759, 31.0080)
Luminance0.1708 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7C95 #95432A
analogous
#2A9579 #2A7C95 #2A4695
triadic
#2A7C95 #952A7C #7C952A
tetradic
#2A7C95 #792A95 #95432A #46952A
square
#2A7C95 #792A95 #95432A #46952A
split-complementary
#2A7C95 #952A46 #95792A
monochromatic
#0F2D36 #1D5465 #2A7C95 #37A4C5 #66BAD4

Accessibility & contrast

On white

4.76
#2A7C95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#2A7C95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7C95
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7C95#FFFFFF#000000##FFFFFF
##2A7C951.004.764.424.76
#FFFFFF4.761.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D7996
Deuteranopia (green-blind)
#5F6E95
Tritanopia (blue-blind)
#008484
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2a7c95;
/* rgb */ color: rgb(42, 124, 149);
/* oklch */ color: oklch(54.8% 0.086 222.1);
Tailwind
colors: {
  custom: {
    50: '#72a2b4',
    500: '#2a7c95',
    950: '#000000',
  },
}
SCSS
$custom: #2a7c95;
$custom-light: #72a2b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7c95",
  "rgb": {
    "r": 42,
    "g": 124,
    "b": 149
  },
  "hsl": {
    "h": 194.019,
    "s": 56.021,
    "l": 37.451
  },
  "oklch": {
    "l": 0.54828,
    "c": 0.08592,
    "h": 222.1
  },
  "luminance": 0.17077
}

Semantic roles & 50–950 ramp

primary
#2A7C95
secondary
#BA7661
accent
#6C48DF
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090F11
muted
#7B7E80

Preview Lab

Preview with #2A7C95

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

Preview Lab → · Contrast checker → · Palette generator →

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