#2E7A9D#2E7A9D

#2E7A9D is a mid, moderate cyan. Relative luminance 0.169; OKLCH L 54.8% C 0.091 H 231.9°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#2E7A9D
RGBrgb(46, 122, 157)
HSLhsl(199, 55%, 40%)
HSVhsv(199, 71%, 62%)
CMYKcmyk(70.7%, 22.3%, 0%, 38.4%)
CIE-LABlab(48.18, -11.50, -25.59)
CIE-LCHlch(48.18, 28.05, 245.81°)
OKLaboklab(54.83% -0.0563 -0.0718)
OKLCHoklch(54.83% 0.091 231.9)
XYZxyz(14.1696, 16.9327, 34.4133)
Luminance0.1693 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7A9D #9D512E
analogous
#2E9D89 #2E7A9D #2E429D
triadic
#2E7A9D #9D2E7A #7A9D2E
tetradic
#2E7A9D #892E9D #9D512E #429D2E
square
#2E7A9D #892E9D #9D512E #429D2E
split-complementary
#2E7A9D #9D2E42 #9D892E
monochromatic
#12303E #20556E #2E7A9D #419DC7 #70B5D5

Accessibility & contrast

On white

4.79
#2E7A9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#2E7A9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7A9D
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7A9D#FFFFFF#000000##FFFFFF
##2E7A9D1.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#69799F
Deuteranopia (green-blind)
#596E9C
Tritanopia (blue-blind)
#008386
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2e7a9d;
/* rgb */ color: rgb(46, 122, 157);
/* oklch */ color: oklch(54.8% 0.091 231.9);
Tailwind
colors: {
  custom: {
    50: '#75a0ba',
    500: '#2e7a9d',
    950: '#000000',
  },
}
SCSS
$custom: #2e7a9d;
$custom-light: #75a0ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7a9d",
  "rgb": {
    "r": 46,
    "g": 122,
    "b": 157
  },
  "hsl": {
    "h": 198.919,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.54825,
    "c": 0.09128,
    "h": 231.9
  },
  "luminance": 0.16934
}

Semantic roles & 50–950 ramp

primary
#2E7A9D
secondary
#BD846A
accent
#794ADE
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2E7A9D

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

Preview Lab → · Contrast checker → · Palette generator →

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