#2A7297#2A7297

#2A7297 is a mid, moderate cyan. Relative luminance 0.148; OKLCH L 52.4% C 0.091 H 234.9°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#2A7297
RGBrgb(42, 114, 151)
HSLhsl(200, 56%, 38%)
HSVhsv(200, 72%, 59%)
CMYKcmyk(72.2%, 24.5%, 0%, 40.8%)
CIE-LABlab(45.30, -9.59, -26.52)
CIE-LCHlch(45.30, 28.20, 250.12°)
OKLaboklab(52.42% -0.0524 -0.0746)
OKLCHoklch(52.42% 0.091 234.9)
XYZxyz(12.5559, 14.7598, 31.4594)
Luminance0.1476 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7297 #974F2A
analogous
#2A9785 #2A7297 #2A3B97
triadic
#2A7297 #972A72 #72972A
tetradic
#2A7297 #852A97 #974F2A #3B972A
square
#2A7297 #852A97 #974F2A #3B972A
split-complementary
#2A7297 #972A3B #97852A
monochromatic
#0F2A37 #1D4E67 #2A7297 #3796C7 #67AFD5

Accessibility & contrast

On white

5.31
#2A7297 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#2A7297 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7297
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7297#FFFFFF#000000##FFFFFF
##2A72971.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#607199
Deuteranopia (green-blind)
#516796
Tritanopia (blue-blind)
#007C7F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2a7297;
/* rgb */ color: rgb(42, 114, 151);
/* oklch */ color: oklch(52.4% 0.091 234.9);
Tailwind
colors: {
  custom: {
    50: '#729ab5',
    500: '#2a7297',
    950: '#000000',
  },
}
SCSS
$custom: #2a7297;
$custom-light: #729ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7297",
  "rgb": {
    "r": 42,
    "g": 114,
    "b": 151
  },
  "hsl": {
    "h": 200.367,
    "s": 56.477,
    "l": 37.843
  },
  "oklch": {
    "l": 0.52418,
    "c": 0.09119,
    "h": 234.9
  },
  "luminance": 0.14761
}

Semantic roles & 50–950 ramp

primary
#2A7297
secondary
#BB8062
accent
#7C48E0
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2A7297

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

Preview Lab → · Contrast checker → · Palette generator →

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