#2A7596#2A7596

#2A7596 is a mid, moderate cyan. Relative luminance 0.154; OKLCH L 53.1% C 0.089 H 230.9°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#2A7596
RGBrgb(42, 117, 150)
HSLhsl(198, 56%, 38%)
HSVhsv(198, 72%, 59%)
CMYKcmyk(72%, 22%, 0%, 41.2%)
CIE-LABlab(46.20, -11.68, -24.54)
CIE-LCHlch(46.20, 27.18, 244.55°)
OKLaboklab(53.12% -0.0559 -0.0689)
OKLCHoklch(53.12% 0.089 230.9)
XYZxyz(12.8190, 15.4154, 31.1481)
Luminance0.1542 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7596 #964B2A
analogous
#2A9681 #2A7596 #2A3F96
triadic
#2A7596 #962A75 #75962A
tetradic
#2A7596 #812A96 #964B2A #3F962A
square
#2A7596 #812A96 #964B2A #3F962A
split-complementary
#2A7596 #962A3F #96812A
monochromatic
#0F2A36 #1D5066 #2A7596 #379AC6 #66B3D4

Accessibility & contrast

On white

5.14
#2A7596 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#2A7596 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7596
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7596#FFFFFF#000000##FFFFFF
##2A75961.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#647398
Deuteranopia (green-blind)
#566996
Tritanopia (blue-blind)
#007E80
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2a7596;
/* rgb */ color: rgb(42, 117, 150);
/* oklch */ color: oklch(53.1% 0.089 230.9);
Tailwind
colors: {
  custom: {
    50: '#729cb5',
    500: '#2a7596',
    950: '#000000',
  },
}
SCSS
$custom: #2a7596;
$custom-light: #729cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7596",
  "rgb": {
    "r": 42,
    "g": 117,
    "b": 150
  },
  "hsl": {
    "h": 198.333,
    "s": 56.25,
    "l": 37.647
  },
  "oklch": {
    "l": 0.53116,
    "c": 0.08874,
    "h": 230.9
  },
  "luminance": 0.15417
}

Semantic roles & 50–950 ramp

primary
#2A7596
secondary
#BA7D61
accent
#7648E0
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2A7596

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

Preview Lab → · Contrast checker → · Palette generator →

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