#2A7B97#2A7B97

#2A7B97 is a mid, moderate cyan. Relative luminance 0.169; OKLCH L 54.7% C 0.088 H 225.1°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#2A7B97
RGBrgb(42, 123, 151)
HSLhsl(195, 56%, 38%)
HSVhsv(195, 72%, 59%)
CMYKcmyk(72.2%, 18.5%, 0%, 40.8%)
CIE-LABlab(48.12, -14.73, -22.16)
CIE-LCHlch(48.12, 26.61, 236.38°)
OKLaboklab(54.67% -0.0619 -0.062)
OKLCHoklch(54.67% 0.088 225.1)
XYZxyz(13.6214, 16.8910, 31.8146)
Luminance0.1689 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7B97 #97462A
analogous
#2A977C #2A7B97 #2A4497
triadic
#2A7B97 #972A7B #7B972A
tetradic
#2A7B97 #7C2A97 #97462A #44972A
square
#2A7B97 #7C2A97 #97462A #44972A
split-complementary
#2A7B97 #972A44 #977C2A
monochromatic
#0F2D37 #1D5467 #2A7B97 #37A2C7 #67B8D5

Accessibility & contrast

On white

4.80
#2A7B97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#2A7B97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7B97
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7B97#FFFFFF#000000##FFFFFF
##2A7B971.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C7898
Deuteranopia (green-blind)
#5D6D97
Tritanopia (blue-blind)
#008384
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2a7b97;
/* rgb */ color: rgb(42, 123, 151);
/* oklch */ color: oklch(54.7% 0.088 225.1);
Tailwind
colors: {
  custom: {
    50: '#73a1b5',
    500: '#2a7b97',
    950: '#000000',
  },
}
SCSS
$custom: #2a7b97;
$custom-light: #73a1b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7b97",
  "rgb": {
    "r": 42,
    "g": 123,
    "b": 151
  },
  "hsl": {
    "h": 195.413,
    "s": 56.477,
    "l": 37.843
  },
  "oklch": {
    "l": 0.54668,
    "c": 0.0876,
    "h": 225.1
  },
  "luminance": 0.16893
}

Semantic roles & 50–950 ramp

primary
#2A7B97
secondary
#BB7962
accent
#6F48E0
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090F11
muted
#7B7E80

Preview Lab

Preview with #2A7B97

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

Preview Lab → · Contrast checker → · Palette generator →

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