#2E7A97#2E7A97

#2E7A97 is a mid, moderate cyan. Relative luminance 0.167; OKLCH L 54.5% C 0.086 H 227.0°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#2E7A97
RGBrgb(46, 122, 151)
HSLhsl(197, 53%, 39%)
HSVhsv(197, 70%, 59%)
CMYKcmyk(69.5%, 19.2%, 0%, 40.8%)
CIE-LABlab(47.92, -13.56, -22.46)
CIE-LCHlch(47.92, 26.23, 238.88°)
OKLaboklab(54.54% -0.0586 -0.0628)
OKLCHoklch(54.54% 0.086 227)
XYZxyz(13.6699, 16.7328, 31.7815)
Luminance0.1673 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7A97 #974B2E
analogous
#2E977F #2E7A97 #2E4697
triadic
#2E7A97 #972E7A #7A972E
tetradic
#2E7A97 #7F2E97 #974B2E #46972E
square
#2E7A97 #7F2E97 #974B2E #46972E
split-complementary
#2E7A97 #972E46 #977F2E
monochromatic
#112E39 #205468 #2E7A97 #3E9FC4 #6DB6D2

Accessibility & contrast

On white

4.83
#2E7A97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#2E7A97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7A97
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7A97#FFFFFF#000000##FFFFFF
##2E7A971.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B7898
Deuteranopia (green-blind)
#5C6D97
Tritanopia (blue-blind)
#008283
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2e7a97;
/* rgb */ color: rgb(46, 122, 151);
/* oklch */ color: oklch(54.5% 0.086 227.0);
Tailwind
colors: {
  custom: {
    50: '#74a0b5',
    500: '#2e7a97',
    950: '#000000',
  },
}
SCSS
$custom: #2e7a97;
$custom-light: #74a0b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7a97",
  "rgb": {
    "r": 46,
    "g": 122,
    "b": 151
  },
  "hsl": {
    "h": 196.571,
    "s": 53.299,
    "l": 38.627
  },
  "oklch": {
    "l": 0.54539,
    "c": 0.08594,
    "h": 227
  },
  "luminance": 0.16734
}

Semantic roles & 50–950 ramp

primary
#2E7A97
secondary
#BA7E67
accent
#734BDD
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2E7A97

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

Preview Lab → · Contrast checker → · Palette generator →

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