#2E7998#2E7998

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

Color values

HEX#2E7998
RGBrgb(46, 121, 152)
HSLhsl(198, 54%, 39%)
HSVhsv(198, 70%, 60%)
CMYKcmyk(69.7%, 20.4%, 0%, 40.4%)
CIE-LABlab(47.65, -12.65, -23.46)
CIE-LCHlch(47.65, 26.66, 241.67°)
OKLaboklab(54.34% -0.0571 -0.0657)
OKLCHoklch(54.34% 0.087 229)
XYZxyz(13.6293, 16.5211, 32.1703)
Luminance0.1652 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7998 #984D2E
analogous
#2E9882 #2E7998 #2E4498
triadic
#2E7998 #982E79 #79982E
tetradic
#2E7998 #822E98 #984D2E #44982E
square
#2E7998 #822E98 #984D2E #44982E
split-complementary
#2E7998 #982E44 #98822E
monochromatic
#122E3A #205469 #2E7998 #3E9DC5 #6DB5D3

Accessibility & contrast

On white

4.88
#2E7998 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2E7998
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7998#FFFFFF#000000##FFFFFF
##2E79981.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#69779A
Deuteranopia (green-blind)
#5A6C98
Tritanopia (blue-blind)
#008283
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2e7998;
/* rgb */ color: rgb(46, 121, 152);
/* oklch */ color: oklch(54.3% 0.087 229.0);
Tailwind
colors: {
  custom: {
    50: '#749fb6',
    500: '#2e7998',
    950: '#000000',
  },
}
SCSS
$custom: #2e7998;
$custom-light: #749fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7998",
  "rgb": {
    "r": 46,
    "g": 121,
    "b": 152
  },
  "hsl": {
    "h": 197.547,
    "s": 53.535,
    "l": 38.824
  },
  "oklch": {
    "l": 0.54337,
    "c": 0.0871,
    "h": 229
  },
  "luminance": 0.16523
}

Semantic roles & 50–950 ramp

primary
#2E7998
secondary
#BA8068
accent
#764BDD
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2E7998

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

Preview Lab → · Contrast checker → · Palette generator →

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