#2A7597#2A7597

#2A7597 is a mid, moderate cyan. Relative luminance 0.154; OKLCH L 53.2% C 0.090 H 231.7°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#2A7597
RGBrgb(42, 117, 151)
HSLhsl(199, 56%, 38%)
HSVhsv(199, 72%, 59%)
CMYKcmyk(72.2%, 22.5%, 0%, 40.8%)
CIE-LABlab(46.24, -11.33, -25.07)
CIE-LCHlch(46.24, 27.51, 245.68°)
OKLaboklab(53.16% -0.0556 -0.0704)
OKLCHoklch(53.16% 0.09 231.7)
XYZxyz(12.8998, 15.4477, 31.5740)
Luminance0.1545 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7597 #974C2A
analogous
#2A9783 #2A7597 #2A3E97
triadic
#2A7597 #972A75 #75972A
tetradic
#2A7597 #832A97 #974C2A #3E972A
square
#2A7597 #832A97 #974C2A #3E972A
split-complementary
#2A7597 #972A3E #97832A
monochromatic
#0F2B37 #1D5067 #2A7597 #379AC7 #67B2D5

Accessibility & contrast

On white

5.13
#2A7597 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#2A7597 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7597
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7597#FFFFFF#000000##FFFFFF
##2A75971.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#647499
Deuteranopia (green-blind)
#556996
Tritanopia (blue-blind)
#007E80
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2a7597;
/* rgb */ color: rgb(42, 117, 151);
/* oklch */ color: oklch(53.2% 0.090 231.7);
Tailwind
colors: {
  custom: {
    50: '#729cb5',
    500: '#2a7597',
    950: '#000000',
  },
}
SCSS
$custom: #2a7597;
$custom-light: #729cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7597",
  "rgb": {
    "r": 42,
    "g": 117,
    "b": 151
  },
  "hsl": {
    "h": 198.716,
    "s": 56.477,
    "l": 37.843
  },
  "oklch": {
    "l": 0.53165,
    "c": 0.08968,
    "h": 231.7
  },
  "luminance": 0.15449
}

Semantic roles & 50–950 ramp

primary
#2A7597
secondary
#BB7E62
accent
#7748E0
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2A7597

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

Preview Lab → · Contrast checker → · Palette generator →

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