#2A7197#2A7197

#2A7197 is a mid, moderate cyan. Relative luminance 0.145; OKLCH L 52.2% C 0.092 H 235.9°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#2A7197
RGBrgb(42, 113, 151)
HSLhsl(201, 56%, 38%)
HSVhsv(201, 72%, 59%)
CMYKcmyk(72.2%, 25.2%, 0%, 40.8%)
CIE-LABlab(44.99, -9.01, -27.01)
CIE-LCHlch(44.99, 28.47, 251.56°)
OKLaboklab(52.17% -0.0514 -0.076)
OKLCHoklch(52.17% 0.092 235.9)
XYZxyz(12.4437, 14.5355, 31.4220)
Luminance0.1454 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7197 #97502A
analogous
#2A9786 #2A7197 #2A3B97
triadic
#2A7197 #972A71 #71972A
tetradic
#2A7197 #862A97 #97502A #3B972A
square
#2A7197 #862A97 #97502A #3B972A
split-complementary
#2A7197 #972A3B #97862A
monochromatic
#0F2937 #1D4D67 #2A7197 #3795C7 #67AED5

Accessibility & contrast

On white

5.37
#2A7197 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#2A7197 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7197
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7197#FFFFFF#000000##FFFFFF
##2A71971.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F7099
Deuteranopia (green-blind)
#506696
Tritanopia (blue-blind)
#007B7E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2a7197;
/* rgb */ color: rgb(42, 113, 151);
/* oklch */ color: oklch(52.2% 0.092 235.9);
Tailwind
colors: {
  custom: {
    50: '#7299b5',
    500: '#2a7197',
    950: '#000000',
  },
}
SCSS
$custom: #2a7197;
$custom-light: #7299b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7197",
  "rgb": {
    "r": 42,
    "g": 113,
    "b": 151
  },
  "hsl": {
    "h": 200.917,
    "s": 56.477,
    "l": 37.843
  },
  "oklch": {
    "l": 0.5217,
    "c": 0.09176,
    "h": 235.9
  },
  "luminance": 0.14537
}

Semantic roles & 50–950 ramp

primary
#2A7197
secondary
#BB8162
accent
#7D48E0
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2A7197

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

Preview Lab → · Contrast checker → · Palette generator →

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