#2E7B98#2E7B98

#2E7B98 is a mid, moderate cyan. Relative luminance 0.170; OKLCH L 54.8% C 0.086 H 226.7°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#2E7B98
RGBrgb(46, 123, 152)
HSLhsl(196, 54%, 39%)
HSVhsv(196, 70%, 60%)
CMYKcmyk(69.7%, 19.1%, 0%, 40.4%)
CIE-LABlab(48.28, -13.78, -22.50)
CIE-LCHlch(48.28, 26.38, 238.52°)
OKLaboklab(54.84% -0.0593 -0.063)
OKLCHoklch(54.84% 0.086 226.7)
XYZxyz(13.8749, 17.0122, 32.2521)
Luminance0.1701 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7B98 #984B2E
analogous
#2E9880 #2E7B98 #2E4698
triadic
#2E7B98 #982E7B #7B982E
tetradic
#2E7B98 #802E98 #984B2E #46982E
square
#2E7B98 #802E98 #984B2E #46982E
split-complementary
#2E7B98 #982E46 #98802E
monochromatic
#122F3A #205569 #2E7B98 #3EA0C5 #6DB7D3

Accessibility & contrast

On white

4.77
#2E7B98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#2E7B98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7B98
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7B98#FFFFFF#000000##FFFFFF
##2E7B981.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B7999
Deuteranopia (green-blind)
#5D6E98
Tritanopia (blue-blind)
#008384
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2e7b98;
/* rgb */ color: rgb(46, 123, 152);
/* oklch */ color: oklch(54.8% 0.086 226.7);
Tailwind
colors: {
  custom: {
    50: '#74a1b6',
    500: '#2e7b98',
    950: '#000000',
  },
}
SCSS
$custom: #2e7b98;
$custom-light: #74a1b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7b98",
  "rgb": {
    "r": 46,
    "g": 123,
    "b": 152
  },
  "hsl": {
    "h": 196.415,
    "s": 53.535,
    "l": 38.824
  },
  "oklch": {
    "l": 0.54836,
    "c": 0.08648,
    "h": 226.7
  },
  "luminance": 0.17014
}

Semantic roles & 50–950 ramp

primary
#2E7B98
secondary
#BA7E68
accent
#734BDD
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090F11
muted
#7B7E80

Preview Lab

Preview with #2E7B98

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

Preview Lab → · Contrast checker → · Palette generator →

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