#2A7995#2A7995

#2A7995 is a mid, moderate cyan. Relative luminance 0.163; OKLCH L 54.1% C 0.087 H 225.6°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#2A7995
RGBrgb(42, 121, 149)
HSLhsl(196, 56%, 37%)
HSVhsv(196, 72%, 58%)
CMYKcmyk(71.8%, 18.8%, 0%, 41.6%)
CIE-LABlab(47.41, -14.30, -22.08)
CIE-LCHlch(47.41, 26.30, 237.07°)
OKLaboklab(54.07% -0.0605 -0.0618)
OKLCHoklch(54.07% 0.087 225.6)
XYZxyz(13.2148, 16.3354, 30.8845)
Luminance0.1634 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7995 #95462A
analogous
#2A957C #2A7995 #2A4395
triadic
#2A7995 #952A79 #79952A
tetradic
#2A7995 #7C2A95 #95462A #43952A
square
#2A7995 #7C2A95 #95462A #43952A
split-complementary
#2A7995 #952A43 #957C2A
monochromatic
#0F2B36 #1D5265 #2A7995 #37A0C5 #66B7D4

Accessibility & contrast

On white

4.92
#2A7995 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#2A7995 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7995
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7995#FFFFFF#000000##FFFFFF
##2A79951.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a7995;
/* rgb */ color: rgb(42, 121, 149);
/* oklch */ color: oklch(54.1% 0.087 225.6);
Tailwind
colors: {
  custom: {
    50: '#729fb4',
    500: '#2a7995',
    950: '#000000',
  },
}
SCSS
$custom: #2a7995;
$custom-light: #729fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7995",
  "rgb": {
    "r": 42,
    "g": 121,
    "b": 149
  },
  "hsl": {
    "h": 195.701,
    "s": 56.021,
    "l": 37.451
  },
  "oklch": {
    "l": 0.54072,
    "c": 0.08651,
    "h": 225.6
  },
  "luminance": 0.16337
}

Semantic roles & 50–950 ramp

primary
#2A7995
secondary
#BA7861
accent
#7048DF
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2A7995

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

Preview Lab → · Contrast checker → · Palette generator →

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