#2A7497#2A7497

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

Color values

HEX#2A7497
RGBrgb(42, 116, 151)
HSLhsl(199, 56%, 38%)
HSVhsv(199, 72%, 59%)
CMYKcmyk(72.2%, 23.2%, 0%, 40.8%)
CIE-LABlab(45.93, -10.75, -25.55)
CIE-LCHlch(45.93, 27.72, 247.18°)
OKLaboklab(52.92% -0.0545 -0.0718)
OKLCHoklch(52.92% 0.09 232.8)
XYZxyz(12.7839, 15.2159, 31.5354)
Luminance0.1522 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7497 #974D2A
analogous
#2A9783 #2A7497 #2A3D97
triadic
#2A7497 #972A74 #74972A
tetradic
#2A7497 #832A97 #974D2A #3D972A
square
#2A7497 #832A97 #974D2A #3D972A
split-complementary
#2A7497 #972A3D #97832A
monochromatic
#0F2A37 #1D4F67 #2A7497 #3799C7 #67B1D5

Accessibility & contrast

On white

5.19
#2A7497 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2A7497
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7497#FFFFFF#000000##FFFFFF
##2A74971.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#637399
Deuteranopia (green-blind)
#546896
Tritanopia (blue-blind)
#007D80
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2a7497;
/* rgb */ color: rgb(42, 116, 151);
/* oklch */ color: oklch(52.9% 0.090 232.8);
Tailwind
colors: {
  custom: {
    50: '#729cb5',
    500: '#2a7497',
    950: '#000000',
  },
}
SCSS
$custom: #2a7497;
$custom-light: #729cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7497",
  "rgb": {
    "r": 42,
    "g": 116,
    "b": 151
  },
  "hsl": {
    "h": 199.266,
    "s": 56.477,
    "l": 37.843
  },
  "oklch": {
    "l": 0.52916,
    "c": 0.09015,
    "h": 232.8
  },
  "luminance": 0.15217
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A7497

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

Preview Lab → · Contrast checker → · Palette generator →

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