#2E7997#2E7997

#2E7997 is a mid, moderate cyan. Relative luminance 0.165; OKLCH L 54.3% C 0.086 H 228.1°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#2E7997
RGBrgb(46, 121, 151)
HSLhsl(197, 53%, 39%)
HSVhsv(197, 70%, 59%)
CMYKcmyk(69.5%, 19.9%, 0%, 40.8%)
CIE-LABlab(47.61, -12.99, -22.94)
CIE-LCHlch(47.61, 26.36, 240.48°)
OKLaboklab(54.29% -0.0575 -0.0642)
OKLCHoklch(54.29% 0.086 228.1)
XYZxyz(13.5478, 16.4885, 31.7408)
Luminance0.1649 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7997 #974C2E
analogous
#2E9780 #2E7997 #2E4497
triadic
#2E7997 #972E79 #79972E
tetradic
#2E7997 #802E97 #974C2E #44972E
square
#2E7997 #802E97 #974C2E #44972E
split-complementary
#2E7997 #972E44 #97802E
monochromatic
#112E39 #205368 #2E7997 #3E9EC4 #6DB5D2

Accessibility & contrast

On white

4.89
#2E7997 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#2E7997 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7997
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7997#FFFFFF#000000##FFFFFF
##2E79971.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#697798
Deuteranopia (green-blind)
#5B6C97
Tritanopia (blue-blind)
#008283
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2e7997;
/* rgb */ color: rgb(46, 121, 151);
/* oklch */ color: oklch(54.3% 0.086 228.1);
Tailwind
colors: {
  custom: {
    50: '#749fb5',
    500: '#2e7997',
    950: '#000000',
  },
}
SCSS
$custom: #2e7997;
$custom-light: #749fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7997",
  "rgb": {
    "r": 46,
    "g": 121,
    "b": 151
  },
  "hsl": {
    "h": 197.143,
    "s": 53.299,
    "l": 38.627
  },
  "oklch": {
    "l": 0.54289,
    "c": 0.08623,
    "h": 228.1
  },
  "luminance": 0.1649
}

Semantic roles & 50–950 ramp

primary
#2E7997
secondary
#BA7F67
accent
#754BDD
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2E7997

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

Preview Lab → · Contrast checker → · Palette generator →

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