#2A7496#2A7496

#2A7496 is a mid, moderate cyan. Relative luminance 0.152; OKLCH L 52.9% C 0.089 H 232.0°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#2A7496
RGBrgb(42, 116, 150)
HSLhsl(199, 56%, 38%)
HSVhsv(199, 72%, 59%)
CMYKcmyk(72%, 22.7%, 0%, 41.2%)
CIE-LABlab(45.88, -11.11, -25.03)
CIE-LCHlch(45.88, 27.38, 246.07°)
OKLaboklab(52.87% -0.0549 -0.0703)
OKLCHoklch(52.87% 0.089 232)
XYZxyz(12.7031, 15.1836, 31.1095)
Luminance0.1519 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7496 #964C2A
analogous
#2A9682 #2A7496 #2A3E96
triadic
#2A7496 #962A74 #74962A
tetradic
#2A7496 #822A96 #964C2A #3E962A
square
#2A7496 #822A96 #964C2A #3E962A
split-complementary
#2A7496 #962A3E #96822A
monochromatic
#0F2A36 #1D4F66 #2A7496 #3799C6 #66B2D4

Accessibility & contrast

On white

5.20
#2A7496 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#2A7496 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7496
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7496#FFFFFF#000000##FFFFFF
##2A74961.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#637398
Deuteranopia (green-blind)
#546895
Tritanopia (blue-blind)
#007D7F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2a7496;
/* rgb */ color: rgb(42, 116, 150);
/* oklch */ color: oklch(52.9% 0.089 232.0);
Tailwind
colors: {
  custom: {
    50: '#729cb5',
    500: '#2a7496',
    950: '#000000',
  },
}
SCSS
$custom: #2a7496;
$custom-light: #729cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7496",
  "rgb": {
    "r": 42,
    "g": 116,
    "b": 150
  },
  "hsl": {
    "h": 198.889,
    "s": 56.25,
    "l": 37.647
  },
  "oklch": {
    "l": 0.52866,
    "c": 0.08919,
    "h": 232
  },
  "luminance": 0.15185
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A7496

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

Preview Lab → · Contrast checker → · Palette generator →

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